Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001682/0.001682, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001918/0.001918, allocations: 189.7 kB / 22.23 MB, free: 5.105 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.495/1.495, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.824/2.824, allocations: 476.7 MB / 0.7646 GB, free: 9.891 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 64.09 kB / 1.11 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.906/0.908, allocations: 168.8 MB / 1.274 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00376/0.9117, allocations: 1.948 MB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004842/0.9166, allocations: 3.5 MB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.9167, allocations: 4 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.917, allocations: 51.61 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005326/0.9175, allocations: 139 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.625e-05/0.9176, allocations: 27.95 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.9179, allocations: 175.2 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.918, allocations: 21.8 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.9182, allocations: 87.62 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.9184, allocations: 87.61 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.9184, allocations: 8 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.9185, allocations: 31.92 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.9186, allocations: 43.84 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.9187, allocations: 79.52 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.919, allocations: 171.1 kB / 1.281 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.919, allocations: 0 / 1.281 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/0.919, allocations: 0 / 1.281 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.919, allocations: 0 / 1.281 GB, free: 13.82 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001033/0.92, allocations: 453 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9201, allocations: 8.031 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.9201, allocations: 20.8 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.9205, allocations: 185.2 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.9205, allocations: 4.375 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.9206, allocations: 4.359 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.9209, allocations: 155.7 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.9209, allocations: 0 / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/0.921, allocations: 4 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/0.921, allocations: 15.89 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.9215, allocations: 135.9 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.9223, allocations: 427.6 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.9227, allocations: 166.4 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.923, allocations: 100.8 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.923, allocations: 7.922 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.9231, allocations: 38.55 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.9231, allocations: 0 / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008423/0.9239, allocations: 293.6 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.9239, allocations: 59.34 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.9242, allocations: 209 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.9242, allocations: 29.7 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.9243, allocations: 116.1 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.9244, allocations: 51.58 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.9244, allocations: 29.7 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.9246, allocations: 334.8 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.9249, allocations: 75.94 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.9251, allocations: 79.92 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.9255, allocations: 162.1 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9255, allocations: 3.938 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005424/0.9261, allocations: 221.4 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.9261, allocations: 8 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9261, allocations: 0 / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9261, allocations: 0 / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.9264, allocations: 35.95 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.9264, allocations: 0 / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.9265, allocations: 19.94 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.9266, allocations: 4 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.9267, allocations: 135.7 kB / 1.284 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.9267, allocations: 15.91 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.9268, allocations: 33.77 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9268, allocations: 0 / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.9268, allocations: 3.938 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.9268, allocations: 0 / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.9272, allocations: 240.4 kB / 1.284 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9272, allocations: 0 / 1.284 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.9274, allocations: 39.95 kB / 1.284 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.9274, allocations: 4 kB / 1.284 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.9274, allocations: 4 kB / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9274, allocations: 0 / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9274, allocations: 0 / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/0.928, allocations: 322.6 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.9281, allocations: 43.83 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.9281, allocations: 0 / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.9283, allocations: 15.98 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.9284, allocations: 11.97 kB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.9284, allocations: 4 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001662/0.9286, allocations: 164.4 kB / 1.285 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9286, allocations: 4 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000279/0.9288, allocations: 43.88 kB / 1.285 GB, free: 9.117 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.929, allocations: 99.23 kB / 1.285 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005752/0.9296, allocations: 175.8 kB / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9296, allocations: 0 / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.9299, allocations: 91.86 kB / 1.285 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.9303, allocations: 33.02 kB / 1.285 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.9312, allocations: 431.8 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.9316, allocations: 0.7236 MB / 1.286 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.9318, allocations: 56.58 kB / 1.286 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.9319, allocations: 23.42 kB / 1.286 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.9319, allocations: 0 / 1.286 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of Templates: time 0.005942/0.9378, allocations: 1.909 MB / 1.288 GB, free: 5.551 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.18723391275853]