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.002136/0.002136, allocations: 111.7 kB / 18.88 MB, free: 2.871 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.002307/0.002307, allocations: 204.8 kB / 22.18 MB, free: 5.176 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.615/1.615, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.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.002031/0.002031, allocations: 69.14 kB / 1.109 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3682, allocations: 168.7 MB / 1.274 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003539/0.3717, allocations: 1.949 MB / 1.276 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004459/0.3762, allocations: 3.498 MB / 1.279 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.643e-05/0.3763, allocations: 0 / 1.279 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.3766, allocations: 63.61 kB / 1.279 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000464/0.377, allocations: 123.3 kB / 1.28 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.161e-05/0.3771, allocations: 39.89 kB / 1.28 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.3774, allocations: 171.2 kB / 1.28 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.3775, allocations: 21.67 kB / 1.28 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3777, allocations: 87.56 kB / 1.28 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.3779, allocations: 79.67 kB / 1.28 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.3779, allocations: 12 kB / 1.28 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.378, allocations: 35.91 kB / 1.28 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.3781, allocations: 31.84 kB / 1.28 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.711e-05/0.3781, allocations: 87.47 kB / 1.28 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.3784, allocations: 167.1 kB / 1.28 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.3784, allocations: 0 / 1.28 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3784, allocations: 0 / 1.28 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3784, allocations: 3.938 kB / 1.28 GB, free: 4.859 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.0009761/0.3794, allocations: 0.5139 MB / 1.281 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3794, allocations: 12.03 kB / 1.281 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.3795, allocations: 24.8 kB / 1.281 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.3799, allocations: 239.1 kB / 1.281 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3799, allocations: 8.375 kB / 1.281 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.3799, allocations: 4.375 kB / 1.281 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.3803, allocations: 143 kB / 1.281 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3803, allocations: 4 kB / 1.281 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3803, allocations: 0 / 1.281 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.3804, allocations: 15.89 kB / 1.281 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.3808, allocations: 143.9 kB / 1.281 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.3817, allocations: 456.5 kB / 1.282 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.3821, allocations: 162.5 kB / 1.282 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.3824, allocations: 104.8 kB / 1.282 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3824, allocations: 3.984 kB / 1.282 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3825, allocations: 34.56 kB / 1.282 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.3825, allocations: 0 / 1.282 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008779/0.3833, allocations: 297.5 kB / 1.282 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.3834, allocations: 59.34 kB / 1.282 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.3836, allocations: 209 kB / 1.283 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3836, allocations: 29.7 kB / 1.283 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.3837, allocations: 124.1 kB / 1.283 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.3838, allocations: 39.59 kB / 1.283 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.3839, allocations: 37.69 kB / 1.283 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.384, allocations: 334.8 kB / 1.283 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.3843, allocations: 71.94 kB / 1.283 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.3845, allocations: 77.17 kB / 1.283 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.385, allocations: 167.4 kB / 1.283 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.385, allocations: 0 / 1.283 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005606/0.3855, allocations: 221.4 kB / 1.284 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3856, allocations: 8 kB / 1.284 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3856, allocations: 0 / 1.284 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3856, allocations: 0 / 1.284 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.3858, allocations: 39.95 kB / 1.284 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3859, allocations: 0 / 1.284 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.386, allocations: 19.88 kB / 1.284 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.386, allocations: 4 kB / 1.284 GB, free: 1.094 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.000126/0.3862, allocations: 141.7 kB / 1.284 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.3862, allocations: 15.91 kB / 1.284 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.3863, allocations: 29.83 kB / 1.284 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3863, allocations: 0 / 1.284 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3863, allocations: 0 / 1.284 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3863, allocations: 0 / 1.284 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.3866, allocations: 265.4 kB / 1.284 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3866, allocations: 3.984 kB / 1.284 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.3868, allocations: 43.95 kB / 1.284 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3868, allocations: 4 kB / 1.284 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3868, allocations: 0 / 1.284 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3868, allocations: 0 / 1.284 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3868, allocations: 0 / 1.284 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.3875, allocations: 327.2 kB / 1.285 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3876, allocations: 112.9 kB / 1.285 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.3876, allocations: 0 / 1.285 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.3878, allocations: 19.97 kB / 1.285 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.3879, allocations: 7.984 kB / 1.285 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3879, allocations: 8 kB / 1.285 GB, free: 44 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001674/0.388, allocations: 156.5 kB / 1.285 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.388, allocations: 0 / 1.285 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002735/0.3883, allocations: 47.88 kB / 1.285 GB, free: 15.84 MB / 0.9981 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.0001894/0.3885, allocations: 99.78 kB / 1.285 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006058/0.3891, allocations: 178.5 kB / 1.285 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3891, allocations: 4 kB / 1.285 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.3894, allocations: 91.86 kB / 1.285 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3898, allocations: 28.34 kB / 1.285 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/0.3907, allocations: 442.4 kB / 1.286 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.3911, allocations: 0.7275 MB / 1.286 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.3912, allocations: 48.59 kB / 1.286 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.3913, allocations: 19.42 kB / 1.286 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.3913, allocations: 0 / 1.286 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.005455/0.3967, allocations: 1.889 MB / 1.288 GB, free: 12.29 MB / 0.9981 GB " [Timeout remaining time 300] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.23393778828904]