Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001733/0.001733, allocations: 111.4 kB / 16.37 MB, free: 6.012 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.001716/0.001716, allocations: 192.1 kB / 17.3 MB, free: 5.613 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 65.17 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2442, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003145/0.2474, allocations: 1.898 MB / 0.953 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003841/0.2513, allocations: 3.459 MB / 0.9564 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.2514, allocations: 4 kB / 0.9564 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.2516, allocations: 43.69 kB / 0.9564 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.2521, allocations: 131.2 kB / 0.9565 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.843e-05/0.2522, allocations: 27.97 kB / 0.9566 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.2524, allocations: 171.2 kB / 0.9567 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.618e-05/0.2525, allocations: 25.67 kB / 0.9567 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.2527, allocations: 87.62 kB / 0.9568 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.2529, allocations: 75.62 kB / 0.9569 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.2529, allocations: 8 kB / 0.9569 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.253, allocations: 31.91 kB / 0.9569 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.2531, allocations: 39.84 kB / 0.957 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.2532, allocations: 75.55 kB / 0.957 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.2534, allocations: 171.2 kB / 0.9572 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2534, allocations: 8 kB / 0.9572 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2534, allocations: 0 / 0.9572 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2534, allocations: 4 kB / 0.9572 GB, free: 1.773 MB / 0.7325 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.000806/0.2542, allocations: 0.4906 MB / 0.9577 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2543, allocations: 8.031 kB / 0.9577 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.2543, allocations: 20.66 kB / 0.9577 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2547, allocations: 242.9 kB / 0.958 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2547, allocations: 8.375 kB / 0.958 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.2547, allocations: 8.312 kB / 0.958 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.255, allocations: 143.8 kB / 0.9581 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2551, allocations: 0 / 0.9581 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2551, allocations: 0 / 0.9581 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.2551, allocations: 15.91 kB / 0.9581 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.2555, allocations: 131.9 kB / 0.9583 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.2562, allocations: 444.5 kB / 0.9587 GB, free: 144 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.2566, allocations: 162.5 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.2568, allocations: 96.8 kB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2569, allocations: 4.25 kB / 0.9589 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.2569, allocations: 38.56 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2569, allocations: 0 / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007689/0.2577, allocations: 277.4 kB / 0.9592 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2577, allocations: 55.41 kB / 0.9593 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.2579, allocations: 213 kB / 0.9595 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.258, allocations: 25.7 kB / 0.9595 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.258, allocations: 128 kB / 0.9596 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.2581, allocations: 43.38 kB / 0.9597 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.2582, allocations: 33.7 kB / 0.9597 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2583, allocations: 330.8 kB / 0.96 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.2585, allocations: 67.94 kB / 0.9601 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.2587, allocations: 75.92 kB / 0.9602 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.2591, allocations: 156.2 kB / 0.9603 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2591, allocations: 8 kB / 0.9603 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004886/0.2596, allocations: 209.2 kB / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2597, allocations: 4 kB / 0.9605 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2597, allocations: 0 / 0.9605 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2597, allocations: 4 kB / 0.9605 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2599, allocations: 31.97 kB / 0.9606 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.26, allocations: 7.984 kB / 0.9606 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2601, allocations: 15.98 kB / 0.9606 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.2601, allocations: 11.97 kB / 0.9606 GB, free: 14.1 MB / 0.7481 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.0001051/0.2602, allocations: 131.7 kB / 0.9607 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.2603, allocations: 23.66 kB / 0.9607 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.2603, allocations: 29.77 kB / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2604, allocations: 4 kB / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2604, allocations: 4 kB / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2604, allocations: 0 / 0.9608 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.2607, allocations: 261.4 kB / 0.961 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2607, allocations: 0 / 0.961 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.2609, allocations: 31.97 kB / 0.9611 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2609, allocations: 3.984 kB / 0.9611 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.2609, allocations: 8 kB / 0.9611 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2609, allocations: 4 kB / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2609, allocations: 4 kB / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.2615, allocations: 311 kB / 0.9614 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.2616, allocations: 112.9 kB / 0.9615 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.2616, allocations: 0 / 0.9615 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.2618, allocations: 19.98 kB / 0.9615 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.2619, allocations: 7.984 kB / 0.9615 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.2619, allocations: 4 kB / 0.9615 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001234/0.262, allocations: 156.5 kB / 0.9617 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.262, allocations: 0 / 0.9617 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002759/0.2623, allocations: 35.94 kB / 0.9617 GB, free: 12.88 MB / 0.7481 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.0001352/0.2624, allocations: 107.2 kB / 0.9618 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.263, allocations: 175.8 kB / 0.962 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.263, allocations: 4 kB / 0.962 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.2632, allocations: 91.86 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.2636, allocations: 32.03 kB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.2643, allocations: 398.1 kB / 0.9625 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2646, allocations: 0.7314 MB / 0.9632 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.2647, allocations: 44.61 kB / 0.9632 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.2648, allocations: 23.42 kB / 0.9632 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.2648, allocations: 0 / 0.9632 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of Templates: time 0.004381/0.2692, allocations: 1.701 MB / 0.9649 GB, free: 9.555 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches