Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001095/0.001095, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.01193/0.01193, allocations: 172.6 kB / 16.27 MB, free: 6.652 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.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7441/0.7444, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002088/0.7466, allocations: 1.62 MB / 0.9566 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.7502, allocations: 3.387 MB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.7504, allocations: 1.375 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.7507, allocations: 41.56 kB / 0.96 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.7511, allocations: 128.5 kB / 0.9601 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.572e-05/0.7512, allocations: 18.73 kB / 0.9601 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.7515, allocations: 184.3 kB / 0.9603 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.7516, allocations: 36.78 kB / 0.9603 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.7518, allocations: 68.7 kB / 0.9604 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.752, allocations: 81.8 kB / 0.9605 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.752, allocations: 8.125 kB / 0.9605 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.7521, allocations: 24.36 kB / 0.9605 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.7522, allocations: 38.78 kB / 0.9605 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.7523, allocations: 100.6 kB / 0.9606 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.7525, allocations: 155.3 kB / 0.9608 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7525, allocations: 0 / 0.9608 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7525, allocations: 0 / 0.9608 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.7525, allocations: 1.344 kB / 0.9608 GB, free: 3.082 MB / 0.7169 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.0008299/0.7533, allocations: 0.492 MB / 0.9613 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7534, allocations: 9.188 kB / 0.9613 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.7535, allocations: 25.75 kB / 0.9613 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.7538, allocations: 253.2 kB / 0.9615 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.7538, allocations: 2.719 kB / 0.9615 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.7538, allocations: 3.656 kB / 0.9615 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.7542, allocations: 148.7 kB / 0.9617 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7542, allocations: 4 kB / 0.9617 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.7542, allocations: 5.156 kB / 0.9617 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.7543, allocations: 7.219 kB / 0.9617 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.7548, allocations: 156.3 kB / 0.9618 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.7555, allocations: 475.2 kB / 0.9623 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.7559, allocations: 174.9 kB / 0.9625 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.7562, allocations: 114.6 kB / 0.9626 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.7563, allocations: 9.172 kB / 0.9626 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.7563, allocations: 31.59 kB / 0.9626 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.7563, allocations: 3.938 kB / 0.9626 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0009098/0.7572, allocations: 318.1 kB / 0.9629 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.7572, allocations: 53.31 kB / 0.963 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.7575, allocations: 218.9 kB / 0.9632 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.7575, allocations: 27.11 kB / 0.9632 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.7576, allocations: 124.5 kB / 0.9633 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.7576, allocations: 52.34 kB / 0.9634 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.7576, allocations: 17.47 kB / 0.9634 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.7577, allocations: 335.7 kB / 0.9637 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.758, allocations: 82.62 kB / 0.9638 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.7582, allocations: 84.06 kB / 0.9639 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.7588, allocations: 185.3 kB / 0.964 GB, free: 496 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.7588, allocations: 0 / 0.964 GB, free: 496 kB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006232/0.7594, allocations: 235.7 kB / 0.9643 GB, free: 372 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7594, allocations: 5.719 kB / 0.9643 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.7595, allocations: 0 / 0.9643 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.7595, allocations: 1.281 kB / 0.9643 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.7597, allocations: 38.69 kB / 0.9643 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7598, allocations: 5.016 kB / 0.9643 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.76, allocations: 24.58 kB / 0.9643 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.76, allocations: 2.719 kB / 0.9643 GB, free: 344 kB / 0.7169 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.0001145/0.7601, allocations: 137.7 kB / 0.9645 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.7602, allocations: 17.34 kB / 0.9645 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.7602, allocations: 22.19 kB / 0.9645 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.7602, allocations: 6.016 kB / 0.9645 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7602, allocations: 0 / 0.9645 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7602, allocations: 0.9688 kB / 0.9645 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.7605, allocations: 269.6 kB / 0.9648 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.7605, allocations: 0 / 0.9648 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.7608, allocations: 43 kB / 0.9648 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/0.7608, allocations: 5.078 kB / 0.9648 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.7608, allocations: 5 kB / 0.9648 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7608, allocations: 4.781 kB / 0.9648 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.7608, allocations: 1 kB / 0.9648 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006441/0.7615, allocations: 329.7 kB / 0.9651 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.7616, allocations: 107.3 kB / 0.9652 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.7616, allocations: 1.188 kB / 0.9653 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.7618, allocations: 27.23 kB / 0.9653 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.7619, allocations: 12.34 kB / 0.9653 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.7619, allocations: 2.969 kB / 0.9653 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001423/0.7621, allocations: 157.7 kB / 0.9654 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7621, allocations: 0 / 0.9654 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003008/0.7624, allocations: 47.8 kB / 0.9655 GB, free: 15.39 MB / 0.7325 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.0001892/0.7626, allocations: 112.7 kB / 0.9656 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006125/0.7632, allocations: 188 kB / 0.9658 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7632, allocations: 3.938 kB / 0.9658 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.7635, allocations: 105.7 kB / 0.9659 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.764, allocations: 27.02 kB / 0.9659 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.7649, allocations: 0.5032 MB / 0.9664 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.7652, allocations: 0.7315 MB / 0.9671 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.7654, allocations: 48 kB / 0.9672 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.7655, allocations: 18.61 kB / 0.9672 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7655, allocations: 0 / 0.9672 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of Templates: time 0.005364/0.7709, allocations: 1.644 MB / 0.9688 GB, free: 13.21 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches