Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.002042/0.002042, allocations: 107.8 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.00248/0.00248, allocations: 217.3 kB / 23.01 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.505/1.505, 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.276/3.276, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [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.002049/0.002049, allocations: 62.38 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4317, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.007381/0.4391, allocations: 4.075 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.4425, allocations: 1.566 MB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.4427, allocations: 11.94 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.4446, allocations: 0.5915 MB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006486/0.4452, allocations: 238.8 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.4458, allocations: 219.5 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006606/0.4465, allocations: 0.5453 MB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.4471, allocations: 342.1 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.4474, allocations: 243.2 kB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.4479, allocations: 267.1 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.448, allocations: 32 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.4483, allocations: 155.7 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.4485, allocations: 151.6 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.4487, allocations: 179.2 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.4494, allocations: 0.5216 MB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4494, allocations: 0 / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4494, allocations: 0 / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.4494, allocations: 0 / 1.336 GB, free: 7.914 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001547/0.451, allocations: 0.6262 MB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.451, allocations: 8.031 kB / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007671/0.4518, allocations: 116.6 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.4523, allocations: 242.5 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.4524, allocations: 55.27 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.4524, allocations: 36.38 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.4534, allocations: 0.613 MB / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4535, allocations: 0 / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.4535, allocations: 12 kB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/0.4536, allocations: 32.98 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.4543, allocations: 375.6 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.4567, allocations: 1.395 MB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/0.4575, allocations: 242.6 kB / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.4579, allocations: 140.7 kB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.4579, allocations: 4 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.458, allocations: 34.56 kB / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.458, allocations: 0 / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001704/0.4597, allocations: 437.2 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.4597, allocations: 59.34 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.46, allocations: 210.9 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.46, allocations: 29.7 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.4602, allocations: 212.2 kB / 1.341 GB, free: 2.852 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/0.4602, allocations: 75.41 kB / 1.341 GB, free: 2.777 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4603, allocations: 57.66 kB / 1.341 GB, free: 2.715 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4605, allocations: 326.8 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.4608, allocations: 100.8 kB / 1.341 GB, free: 2.285 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.4611, allocations: 242.4 kB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.4616, allocations: 270.6 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4616, allocations: 0 / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009872/0.4626, allocations: 388.5 kB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4626, allocations: 12.03 kB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4626, allocations: 0 / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.4632, allocations: 117.6 kB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.4635, allocations: 51.91 kB / 1.342 GB, free: 1.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.4672, allocations: 2.81 MB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.4675, allocations: 27.88 kB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.4675, allocations: 12 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000378/0.4679, allocations: 220 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003273/0.4682, allocations: 231.5 kB / 1.345 GB, free: 13.58 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000507/0.4687, allocations: 278.8 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.4687, allocations: 3.938 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0009006/0.4696, allocations: 369.3 kB / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4696, allocations: 8 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4696, allocations: 4 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/0.4701, allocations: 109.6 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.4703, allocations: 43.92 kB / 1.346 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.4735, allocations: 2.775 MB / 1.349 GB, free: 9.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.4738, allocations: 27.91 kB / 1.349 GB, free: 9.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.4738, allocations: 12 kB / 1.349 GB, free: 9.711 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.474, allocations: 193.1 kB / 1.349 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.474, allocations: 23.86 kB / 1.349 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.4741, allocations: 29.8 kB / 1.349 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4741, allocations: 3.938 kB / 1.349 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4741, allocations: 0 / 1.349 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.4742, allocations: 43.83 kB / 1.349 GB, free: 9.414 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.4743, allocations: 4 kB / 1.349 GB, free: 9.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.4744, allocations: 19.98 kB / 1.349 GB, free: 9.391 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/0.4745, allocations: 15.95 kB / 1.349 GB, free: 9.375 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008207/0.4754, allocations: 374.3 kB / 1.35 GB, free: 8.996 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007357/0.4761, allocations: 492.6 kB / 1.35 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002176/0.4763, allocations: 87.97 kB / 1.35 GB, free: 8.414 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001445/0.4764, allocations: 147 kB / 1.35 GB, free: 8.27 MB / 1.045 GB Notification: Performance of Backend: time 3.41e-07/0.4764, allocations: 0 / 1.35 GB, free: 8.27 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00258/0.479, allocations: 0.9446 MB / 1.351 GB, free: 7.27 MB / 1.045 GB Notification: Performance of SimCode: time 0.001529/0.4806, allocations: 1.049 MB / 1.352 GB, free: 6.172 MB / 1.045 GB Notification: Performance of Templates: time 0.01238/0.4929, allocations: 6.312 MB / 1.358 GB, free: 15.93 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.760008140998252]