Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 192.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6393/0.6412, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003246/0.6445, allocations: 1.91 MB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004129/0.6486, allocations: 3.446 MB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.6487, allocations: 0 / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.649, allocations: 55.61 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.6494, allocations: 139.2 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.318e-05/0.6495, allocations: 27.89 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.6497, allocations: 171.2 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.6499, allocations: 25.67 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.65, allocations: 87.62 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.6502, allocations: 91.55 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.6503, allocations: 8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.6504, allocations: 27.92 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.6504, allocations: 39.84 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/0.6505, allocations: 75.53 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.6508, allocations: 171.4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.6508, allocations: 3.938 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6508, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.6508, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 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.0009638/0.6518, allocations: 0.5023 MB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6518, allocations: 8.031 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.6519, allocations: 24.66 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.6523, allocations: 246.9 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.6523, allocations: 4.375 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.6523, allocations: 4.375 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.6527, allocations: 147.8 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.6527, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.6527, allocations: 4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.6528, allocations: 12 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/0.6533, allocations: 143.9 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007358/0.654, allocations: 456.5 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/0.6545, allocations: 170.4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.6548, allocations: 104.8 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.6548, allocations: 8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.6548, allocations: 30.56 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.6548, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000884/0.6557, allocations: 297.6 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.6558, allocations: 59.33 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.656, allocations: 213 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.656, allocations: 25.7 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.6561, allocations: 124 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.6562, allocations: 47.28 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.6563, allocations: 37.7 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.6564, allocations: 334.8 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.6567, allocations: 71.94 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.6569, allocations: 71.94 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.6574, allocations: 168.7 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6574, allocations: 0 / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005876/0.658, allocations: 213.4 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6581, allocations: 4 kB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6581, allocations: 3.938 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6581, allocations: 3.984 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.6584, allocations: 39.91 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.6584, allocations: 0 / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.6586, allocations: 23.88 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.6586, allocations: 0 / 1.027 GB, free: 8.402 MB / 0.7794 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.0001258/0.6587, allocations: 133.8 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.6588, allocations: 23.81 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/0.6588, allocations: 21.84 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.6588, allocations: 0 / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6589, allocations: 0 / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6589, allocations: 11.92 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.6592, allocations: 265.3 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6592, allocations: 7.938 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.6594, allocations: 39.97 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6595, allocations: 0 / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.6595, allocations: 7.984 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.6595, allocations: 0 / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6595, allocations: 0 / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.6601, allocations: 316.2 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6602, allocations: 112.9 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.6603, allocations: 0 / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.6605, allocations: 19.92 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.6606, allocations: 7.984 kB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.6606, allocations: 7.984 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001382/0.6607, allocations: 156.5 kB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6607, allocations: 4 kB / 1.028 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002834/0.661, allocations: 43.84 kB / 1.028 GB, free: 7.16 MB / 0.7794 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.000167/0.6612, allocations: 103.2 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000591/0.6618, allocations: 195.7 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6618, allocations: 8 kB / 1.028 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.6621, allocations: 91.86 kB / 1.028 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.6625, allocations: 28.41 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.6634, allocations: 434.5 kB / 1.029 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.6637, allocations: 0.7275 MB / 1.03 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.6639, allocations: 52.59 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.664, allocations: 15.44 kB / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.664, allocations: 3.938 kB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of Templates: time 0.005116/0.6691, allocations: 1.816 MB / 1.031 GB, free: 3.664 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches