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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001167/0.001168, allocations: 91.53 kB / 16.02 MB, free: 76 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.001479/0.001479, allocations: 182.1 kB / 16.92 MB, free: 6.926 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004445, allocations: 11.98 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7337/0.7342, allocations: 142.4 MB / 0.9557 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001877/0.7361, allocations: 1.624 MB / 0.9573 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003332/0.7395, allocations: 3.374 MB / 0.9606 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.7396, allocations: 9.219 kB / 0.9606 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.7398, allocations: 49.86 kB / 0.9606 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.7402, allocations: 123.8 kB / 0.9608 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.675e-05/0.7403, allocations: 19.62 kB / 0.9608 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.7405, allocations: 188.8 kB / 0.961 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.7406, allocations: 27.97 kB / 0.961 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.7408, allocations: 73.81 kB / 0.9611 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.7409, allocations: 76.41 kB / 0.9611 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.741, allocations: 9.969 kB / 0.9611 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.7411, allocations: 28.23 kB / 0.9612 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.7411, allocations: 33.92 kB / 0.9612 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.7412, allocations: 99.91 kB / 0.9613 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.7414, allocations: 107.5 kB / 0.9614 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7414, allocations: 1.375 kB / 0.9614 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7414, allocations: 0 / 0.9614 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.7414, allocations: 0 / 0.9614 GB, free: 2.98 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.0007692/0.7422, allocations: 0.493 MB / 0.9619 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.7422, allocations: 13.61 kB / 0.9619 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.7423, allocations: 20.91 kB / 0.9619 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.7426, allocations: 245 kB / 0.9621 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.7426, allocations: 7.109 kB / 0.9622 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.7426, allocations: 3.125 kB / 0.9622 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.7429, allocations: 151.5 kB / 0.9623 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.743, allocations: 4 kB / 0.9623 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.743, allocations: 9.359 kB / 0.9623 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.743, allocations: 6.875 kB / 0.9623 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.7435, allocations: 157.4 kB / 0.9625 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.7441, allocations: 470.5 kB / 0.9629 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.7445, allocations: 178.1 kB / 0.9631 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.7448, allocations: 114.4 kB / 0.9632 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.7448, allocations: 4.969 kB / 0.9632 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.7449, allocations: 32.66 kB / 0.9632 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.7449, allocations: 0 / 0.9632 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008647/0.7457, allocations: 318.7 kB / 0.9635 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.7458, allocations: 52.97 kB / 0.9636 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.7459, allocations: 212.3 kB / 0.9638 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.746, allocations: 29.69 kB / 0.9638 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.746, allocations: 128.1 kB / 0.9639 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.7461, allocations: 48.94 kB / 0.964 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.7461, allocations: 16.72 kB / 0.964 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.7462, allocations: 336 kB / 0.9643 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.7464, allocations: 83.47 kB / 0.9644 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.7466, allocations: 87.66 kB / 0.9645 GB, free: 484 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004634/0.7471, allocations: 185.4 kB / 0.9647 GB, free: 396 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7471, allocations: 0 / 0.9647 GB, free: 396 kB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005384/0.7477, allocations: 235.7 kB / 0.9649 GB, free: 272 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7477, allocations: 5.625 kB / 0.9649 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7477, allocations: 0 / 0.9649 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7477, allocations: 1.594 kB / 0.9649 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.748, allocations: 39.22 kB / 0.9649 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.748, allocations: 1.031 kB / 0.9649 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.7482, allocations: 23.22 kB / 0.965 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.7482, allocations: 3.188 kB / 0.965 GB, free: 248 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 9.55e-05/0.7483, allocations: 138.3 kB / 0.9651 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.7483, allocations: 21.52 kB / 0.9651 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.7484, allocations: 22.62 kB / 0.9651 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7484, allocations: 1.281 kB / 0.9651 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7484, allocations: 0 / 0.9651 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7484, allocations: 4.984 kB / 0.9651 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.7487, allocations: 277.3 kB / 0.9654 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7488, allocations: 0 / 0.9654 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.749, allocations: 44.05 kB / 0.9654 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.749, allocations: 0 / 0.9654 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.749, allocations: 6.359 kB / 0.9655 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.749, allocations: 0 / 0.9655 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.749, allocations: 1.281 kB / 0.9655 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.7496, allocations: 333.4 kB / 0.9658 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.303e-05/0.7498, allocations: 107 kB / 0.9659 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.7498, allocations: 1.812 kB / 0.9659 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.75, allocations: 22.95 kB / 0.9659 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.75, allocations: 8.703 kB / 0.9659 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.7501, allocations: 7.547 kB / 0.9659 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001347/0.7502, allocations: 156.7 kB / 0.9661 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7502, allocations: 0 / 0.9661 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002806/0.7505, allocations: 44.25 kB / 0.9661 GB, free: 15.3 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.0001685/0.7507, allocations: 115.2 kB / 0.9662 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.7512, allocations: 192.2 kB / 0.9664 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7512, allocations: 3.938 kB / 0.9664 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.7515, allocations: 101.9 kB / 0.9665 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.7519, allocations: 30.98 kB / 0.9665 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/0.7528, allocations: 0.5329 MB / 0.967 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.7533, allocations: 0.7316 MB / 0.9678 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.7534, allocations: 24.67 kB / 0.9678 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7534, allocations: 0 / 0.9678 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.005172/0.7585, allocations: 2.286 MB / 0.97 GB, free: 12.76 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/jenkins1/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