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.001929/0.00193, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.002185/0.002185, allocations: 188 kB / 17.34 MB, free: 5.738 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.633/1.633, allocations: 222.9 MB / 241 MB, free: 15.14 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.676/2.676, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.00193, allocations: 55.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9429/0.9449, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003476/0.9484, allocations: 1.915 MB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004521/0.9529, allocations: 3.451 MB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.953, allocations: 0 / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.9534, allocations: 63.12 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.9538, allocations: 131.3 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 7.725e-05/0.9539, allocations: 27.91 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.9542, allocations: 175.2 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.9543, allocations: 29.67 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.9545, allocations: 83.62 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.9546, allocations: 87.56 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.9547, allocations: 8 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.9548, allocations: 27.92 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.9549, allocations: 47.83 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.955, allocations: 79.53 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.9553, allocations: 176.1 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9554, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9554, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.9554, allocations: 0 / 1.173 GB, free: 13.54 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.001237/0.9566, allocations: 0.51 MB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9567, allocations: 12.92 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.9568, allocations: 16.84 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.9573, allocations: 251 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.9573, allocations: 4.312 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.9574, allocations: 8.375 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.9579, allocations: 145.7 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9579, allocations: 4 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.958, allocations: 0 / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.958, allocations: 8 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.9587, allocations: 139.9 kB / 1.175 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.9598, allocations: 468.4 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.9605, allocations: 163.7 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.9609, allocations: 112.8 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.961, allocations: 4 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.961, allocations: 30.56 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.961, allocations: 0 / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.001325/0.9624, allocations: 295.3 kB / 1.176 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.9624, allocations: 51.41 kB / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.9628, allocations: 217 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.9628, allocations: 25.7 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.963, allocations: 124.1 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.963, allocations: 47.58 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.9632, allocations: 37.7 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.9634, allocations: 334.8 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.9637, allocations: 71.94 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.9641, allocations: 71.94 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.9648, allocations: 174.4 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9649, allocations: 0 / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008772/0.9657, allocations: 225.4 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.9658, allocations: 4 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.9658, allocations: 0 / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.9658, allocations: 7.938 kB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.9662, allocations: 31.97 kB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9662, allocations: 3.938 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.9665, allocations: 15.98 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.9665, allocations: 7.984 kB / 1.177 GB, free: 9.762 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.0001684/0.9667, allocations: 133.7 kB / 1.177 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.9668, allocations: 23.84 kB / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/0.9669, allocations: 21.84 kB / 1.177 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.9669, allocations: 4 kB / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9669, allocations: 0 / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9669, allocations: 0 / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.9674, allocations: 277.3 kB / 1.177 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.9674, allocations: 0 / 1.177 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.9678, allocations: 35.97 kB / 1.177 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.9678, allocations: 0 / 1.177 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.9678, allocations: 7.984 kB / 1.177 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.9678, allocations: 0 / 1.177 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9678, allocations: 0 / 1.177 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009197/0.9688, allocations: 320.5 kB / 1.178 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.969, allocations: 108.9 kB / 1.178 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.969, allocations: 8 kB / 1.178 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.9693, allocations: 11.98 kB / 1.178 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.9694, allocations: 11.98 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.9695, allocations: 3.984 kB / 1.178 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000221/0.9697, allocations: 156.5 kB / 1.178 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9697, allocations: 4 kB / 1.178 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004844/0.9702, allocations: 43.88 kB / 1.178 GB, free: 8.516 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.0002151/0.9704, allocations: 107.2 kB / 1.178 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008568/0.9713, allocations: 179.8 kB / 1.178 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9713, allocations: 4 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.9717, allocations: 88.5 kB / 1.178 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.9724, allocations: 41.47 kB / 1.178 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.9736, allocations: 427.6 kB / 1.179 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.9742, allocations: 0.7275 MB / 1.18 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002435/0.9744, allocations: 52.59 kB / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.9745, allocations: 23.36 kB / 1.18 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.9745, allocations: 3.938 kB / 1.18 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.007447/0.982, allocations: 1.849 MB / 1.181 GB, free: 4.992 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 -s cvode -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