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.001789/0.001789, allocations: 108 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.404/2.404, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.14 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8678/0.8691, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003227/0.8724, allocations: 1.921 MB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004148/0.8766, allocations: 3.455 MB / 1.173 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.8768, allocations: 0 / 1.173 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.8771, allocations: 51.61 kB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.8777, allocations: 139.3 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 8.969e-05/0.8778, allocations: 19.97 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.878, allocations: 179.2 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.8782, allocations: 29.67 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.8784, allocations: 87.62 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.8786, allocations: 75.62 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.8786, allocations: 12 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-05/0.8787, allocations: 35.91 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/0.8788, allocations: 35.84 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.8789, allocations: 79.53 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.8792, allocations: 177.1 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8792, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8792, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.8792, allocations: 4 kB / 1.173 GB, free: 13.58 MB / 0.9044 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.0009342/0.8801, allocations: 0.4983 MB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.8802, allocations: 12.92 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.8802, allocations: 24.75 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.8806, allocations: 246.8 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.8806, allocations: 8.359 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.8807, allocations: 4.375 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.881, allocations: 148.4 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.881, allocations: 4 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.8811, allocations: 0 / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.8811, allocations: 12 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.8815, allocations: 143.9 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.8823, allocations: 456.4 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.8827, allocations: 178.4 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.883, allocations: 105 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.883, allocations: 0 / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.883, allocations: 42.56 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.883, allocations: 3.938 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0008088/0.8838, allocations: 290.2 kB / 1.176 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.8839, allocations: 55.39 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.8841, allocations: 213 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.8841, allocations: 29.7 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.8842, allocations: 116.1 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.8843, allocations: 47.3 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.8844, allocations: 37.7 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8845, allocations: 334.8 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.8847, allocations: 71.94 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.8849, allocations: 73.31 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.8854, allocations: 170.1 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8854, allocations: 0 / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005232/0.8859, allocations: 221.2 kB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.8859, allocations: 4 kB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.886, allocations: 0 / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.886, allocations: 3.938 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.8862, allocations: 35.97 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8863, allocations: 0 / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.8864, allocations: 19.97 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.8865, allocations: 0 / 1.177 GB, free: 9.824 MB / 0.9044 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.0001367/0.8866, allocations: 133.8 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.8867, allocations: 23.72 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.8867, allocations: 25.84 kB / 1.177 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.8867, allocations: 3.938 kB / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8867, allocations: 0 / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8867, allocations: 7.984 kB / 1.177 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.887, allocations: 261.4 kB / 1.177 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8871, allocations: 4 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.8873, allocations: 35.97 kB / 1.177 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8873, allocations: 0 / 1.177 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.8873, allocations: 7.984 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8873, allocations: 4 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8873, allocations: 0 / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.8879, allocations: 324 kB / 1.178 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.888, allocations: 112.9 kB / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.8881, allocations: 0 / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.8883, allocations: 15.98 kB / 1.178 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.8883, allocations: 7.984 kB / 1.178 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.8883, allocations: 7.984 kB / 1.178 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000142/0.8885, allocations: 156.5 kB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8885, allocations: 4 kB / 1.178 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002807/0.8888, allocations: 43.88 kB / 1.178 GB, free: 8.574 MB / 0.9044 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.0001797/0.889, allocations: 107.2 kB / 1.178 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005209/0.8895, allocations: 176.3 kB / 1.178 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8895, allocations: 4 kB / 1.178 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.8897, allocations: 96.36 kB / 1.178 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.8902, allocations: 30.64 kB / 1.178 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.8911, allocations: 453.8 kB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.8914, allocations: 0.7236 MB / 1.18 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.8915, allocations: 31.36 kB / 1.18 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.8915, allocations: 4 kB / 1.18 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of Templates: time 0.004082/0.8956, allocations: 2.326 MB / 1.182 GB, free: 4.594 MB / 0.9044 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=480 -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/jenkins1/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