Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 213.8 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.274/3.274, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 66.47 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4271, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006925/0.434, allocations: 3.786 MB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003542/0.4376, allocations: 1.706 MB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.4379, allocations: 11.94 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.4394, allocations: 498.1 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000693/0.4401, allocations: 230.9 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.4408, allocations: 211 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005829/0.4414, allocations: 478.3 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005585/0.4419, allocations: 293.4 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.4422, allocations: 203.3 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.4426, allocations: 231.1 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.4427, allocations: 28 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.4431, allocations: 227.4 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.4432, allocations: 127.6 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.4434, allocations: 143.4 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006602/0.4441, allocations: 0.5059 MB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.4441, allocations: 0 / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4441, allocations: 0 / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.4441, allocations: 4 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001077/0.4452, allocations: 0.5596 MB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4452, allocations: 8.031 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.4462, allocations: 136.6 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.4466, allocations: 242.5 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.4467, allocations: 24.97 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.4467, allocations: 28.36 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008494/0.4476, allocations: 0.5862 MB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4476, allocations: 3.938 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.4476, allocations: 12 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/0.4477, allocations: 28.64 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.4482, allocations: 326.3 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.4504, allocations: 1.505 MB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.4508, allocations: 166.6 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.451, allocations: 100.8 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.451, allocations: 0 / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.451, allocations: 34.56 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.451, allocations: 0 / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006018/0.4516, allocations: 230.5 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.4517, allocations: 51.41 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.4519, allocations: 228 kB / 1.34 GB, free: 3.887 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4519, allocations: 25.7 kB / 1.34 GB, free: 3.855 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.4521, allocations: 220.1 kB / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.4522, allocations: 55.58 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.4522, allocations: 41.95 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4524, allocations: 334.8 kB / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.4525, allocations: 56.53 kB / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.4527, allocations: 149.3 kB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.453, allocations: 218.9 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.453, allocations: 4 kB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004399/0.4534, allocations: 260.1 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4534, allocations: 10.02 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4535, allocations: 4 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.4536, allocations: 25.22 kB / 1.341 GB, free: 2.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.4538, allocations: 51.92 kB / 1.341 GB, free: 2.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.455, allocations: 1.295 MB / 1.342 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.4552, allocations: 27.78 kB / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.4552, allocations: 12 kB / 1.342 GB, free: 0.9102 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001938/0.4554, allocations: 165.9 kB / 1.342 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.4555, allocations: 23.84 kB / 1.342 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.4555, allocations: 29.39 kB / 1.343 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4555, allocations: 0 / 1.343 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4555, allocations: 0 / 1.343 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.4556, allocations: 35.78 kB / 1.343 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.4556, allocations: 7.984 kB / 1.343 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.4558, allocations: 4 kB / 1.343 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.4558, allocations: 11.98 kB / 1.343 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000399/0.4562, allocations: 249.7 kB / 1.343 GB, free: 380 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003997/0.4566, allocations: 378.6 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.783e-05/0.4567, allocations: 54.44 kB / 1.343 GB, free: 15.93 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001575/0.4569, allocations: 161.6 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of Backend: time 4.71e-07/0.4569, allocations: 0 / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.4579, allocations: 424.5 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of SimCode: time 0.001215/0.4591, allocations: 0.9725 MB / 1.345 GB, free: 14.33 MB / 1.045 GB Notification: Performance of Templates: time 0.0088/0.4679, allocations: 4.146 MB / 1.349 GB, free: 10.24 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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: 9.543904823003686]