Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 111.6 kB / 18.88 MB, free: 2.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 201 kB / 22.17 MB, free: 5.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8933/0.8953, allocations: 168.7 MB / 1.274 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005523/0.9008, allocations: 3.184 MB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.9035, allocations: 1.387 MB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.9037, allocations: 11.98 kB / 1.279 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.9049, allocations: 335.7 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.9053, allocations: 147.3 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.9057, allocations: 146.9 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.9062, allocations: 303 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.9066, allocations: 167 kB / 1.28 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.9067, allocations: 127.6 kB / 1.28 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.9071, allocations: 143.5 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.9071, allocations: 20 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.9075, allocations: 171.6 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.9076, allocations: 79.73 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.9077, allocations: 115.5 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.9082, allocations: 338.8 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9082, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9082, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.9082, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009991/0.9092, allocations: 0.5182 MB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.9093, allocations: 15.97 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/0.9099, allocations: 84.72 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.9102, allocations: 244 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.9103, allocations: 16.75 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.9103, allocations: 20.31 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.9108, allocations: 303.5 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.9108, allocations: 0 / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.9109, allocations: 15.98 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.9109, allocations: 20.3 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.9112, allocations: 193 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.913, allocations: 1.456 MB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.9132, allocations: 175.7 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.9133, allocations: 24.86 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.9133, allocations: 4 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.9133, allocations: 34.55 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.9133, allocations: 0 / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005754/0.9139, allocations: 231.6 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.914, allocations: 55.41 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.9142, allocations: 206.2 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.9142, allocations: 25.7 kB / 1.284 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.9143, allocations: 163.9 kB / 1.284 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.9144, allocations: 27.78 kB / 1.284 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.9144, allocations: 33.72 kB / 1.284 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.9146, allocations: 326.8 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.9147, allocations: 43.97 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.9148, allocations: 106 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.915, allocations: 136.5 kB / 1.285 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.915, allocations: 4 kB / 1.285 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003308/0.9153, allocations: 194.1 kB / 1.285 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.9153, allocations: 4 kB / 1.285 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9153, allocations: 4 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.9155, allocations: 29.11 kB / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.9156, allocations: 35.94 kB / 1.285 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.917, allocations: 1.426 MB / 1.286 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.9171, allocations: 19.83 kB / 1.286 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.9171, allocations: 12 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.9173, allocations: 146.2 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.9173, allocations: 15.91 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.9173, allocations: 21.39 kB / 1.287 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.9173, allocations: 64 / 1.287 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.9173, allocations: 4 kB / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.9173, allocations: 0 / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/0.9179, allocations: 451.2 kB / 1.287 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9179, allocations: 0 / 1.287 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.918, allocations: 4 kB / 1.287 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.343e-05/0.9181, allocations: 24.84 kB / 1.287 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.9181, allocations: 0 / 1.287 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.9193, allocations: 1.418 MB / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9193, allocations: 0 / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.9196, allocations: 220.6 kB / 1.289 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.053e-05/0.9197, allocations: 97 kB / 1.289 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.9197, allocations: 4 kB / 1.289 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.9198, allocations: 8 kB / 1.289 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.9198, allocations: 8.062 kB / 1.289 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.9198, allocations: 0 / 1.289 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001567/0.92, allocations: 145.6 kB / 1.289 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.92, allocations: 0 / 1.289 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003418/0.9203, allocations: 51.89 kB / 1.289 GB, free: 4.352 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.9205, allocations: 103.2 kB / 1.289 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004188/0.9209, allocations: 206.7 kB / 1.289 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.9209, allocations: 4 kB / 1.289 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.9211, allocations: 146.7 kB / 1.289 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.9214, allocations: 32.19 kB / 1.29 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007103/0.9222, allocations: 366.5 kB / 1.29 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.9226, allocations: 0.7475 MB / 1.291 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.542e-05/0.9227, allocations: 25.53 kB / 1.291 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.9227, allocations: 15.38 kB / 1.291 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.9227, allocations: 4 kB / 1.291 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.005574/0.9283, allocations: 1.834 MB / 1.292 GB, free: 0.8242 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.847585333045572]