Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,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.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 104.1 kB / 16.4 MB, free: 6.453 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.001951/0.001951, allocations: 188 kB / 17.34 MB, free: 5.719 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.07 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.709/2.709, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9389/0.9408, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003559/0.9444, allocations: 1.913 MB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004756/0.9492, allocations: 3.455 MB / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.9493, allocations: 0 / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.9496, allocations: 51.2 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.9501, allocations: 135.2 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 7.654e-05/0.9502, allocations: 23.97 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.9505, allocations: 163.2 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.9506, allocations: 37.64 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.9508, allocations: 83.64 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.951, allocations: 75.62 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.951, allocations: 8 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.9511, allocations: 39.84 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.062e-05/0.9512, allocations: 39.83 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.9513, allocations: 71.55 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.9516, allocations: 180.1 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9516, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9516, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.9516, allocations: 0 / 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.001018/0.9526, allocations: 0.5003 MB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.9527, allocations: 8.922 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.9528, allocations: 24.8 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.9532, allocations: 239.1 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.9532, allocations: 384 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.9532, allocations: 12.31 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.9536, allocations: 141.7 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9536, allocations: 0 / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.9537, allocations: 0 / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.917e-05/0.9537, allocations: 12 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.9542, allocations: 131.9 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007754/0.9549, allocations: 452.4 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.9554, allocations: 162.4 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.9557, allocations: 100.8 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.9557, allocations: 3.984 kB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.9557, allocations: 34.56 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.9557, allocations: 0 / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0008921/0.9566, allocations: 286.9 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.9567, allocations: 51.41 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.957, allocations: 209 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.957, allocations: 25.7 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.9571, allocations: 128.1 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/0.9572, allocations: 47.64 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.9572, allocations: 33.7 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.9574, allocations: 330.8 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.9577, allocations: 67.94 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.9579, allocations: 67.94 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.9584, allocations: 162.2 kB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9584, allocations: 0 / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005465/0.9589, allocations: 214.7 kB / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.9589, allocations: 8 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.959, allocations: 0 / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.959, allocations: 0 / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.9592, allocations: 31.97 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.9592, allocations: 3.938 kB / 1.177 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.9594, allocations: 27.88 kB / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.9594, allocations: 11.98 kB / 1.177 GB, free: 9.898 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.0001264/0.9596, allocations: 129.7 kB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.9596, allocations: 19.86 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.9597, allocations: 25.83 kB / 1.177 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9597, allocations: 4 kB / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9597, allocations: 0 / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.9597, allocations: 0 / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.96, allocations: 261.5 kB / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9601, allocations: 0 / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.9603, allocations: 39.97 kB / 1.177 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9603, allocations: 0 / 1.177 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.9603, allocations: 3.984 kB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9603, allocations: 3.938 kB / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9603, allocations: 3.984 kB / 1.177 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.961, allocations: 315.2 kB / 1.178 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.9611, allocations: 112.9 kB / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.9611, allocations: 0 / 1.178 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.9613, allocations: 15.98 kB / 1.178 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.9614, allocations: 7.984 kB / 1.178 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.9614, allocations: 4 kB / 1.178 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001573/0.9616, allocations: 164.5 kB / 1.178 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9616, allocations: 0 / 1.178 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002709/0.9618, allocations: 35.89 kB / 1.178 GB, free: 8.676 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.0001913/0.962, allocations: 111.2 kB / 1.178 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005479/0.9626, allocations: 173 kB / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9626, allocations: 0 / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.9629, allocations: 95.86 kB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.9633, allocations: 25.22 kB / 1.178 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.9641, allocations: 413.4 kB / 1.179 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.9646, allocations: 0.7313 MB / 1.179 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.9647, allocations: 48.59 kB / 1.179 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.9648, allocations: 23.42 kB / 1.179 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9648, allocations: 0 / 1.179 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of Templates: time 0.005185/0.97, allocations: 1.743 MB / 1.181 GB, free: 5.293 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches