Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004133/0.004133, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.0009862/0.0009862, allocations: 193 kB / 16.67 MB, free: 5.93 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.182/1.182, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.121/2.121, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 70.02 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2424, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002241/0.2446, allocations: 1.536 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.853e-05/0.2447, allocations: 35.84 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.2448, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.2449, allocations: 11.86 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.2449, allocations: 7.938 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.502e-05/0.245, allocations: 23.97 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.137e-05/0.2451, allocations: 43.84 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2453, allocations: 35.95 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.012e-05/0.2453, allocations: 23.92 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.2454, allocations: 27.86 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.2454, allocations: 8 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.2454, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.2454, allocations: 11.98 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.2455, allocations: 31.8 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.317e-05/0.2456, allocations: 63.62 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2456, allocations: 3.938 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2456, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2456, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003471/0.246, allocations: 367.2 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.246, allocations: 12.03 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.246, allocations: 8.891 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.2462, allocations: 188.2 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.2462, allocations: 4.375 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2462, allocations: 4.375 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.2464, allocations: 96.75 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2464, allocations: 4.188 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2464, allocations: 11.92 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2464, allocations: 4 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.2465, allocations: 39.92 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.247, allocations: 0.6402 MB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.593e-05/0.2471, allocations: 165.1 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.2471, allocations: 80.14 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.2471, allocations: 83.27 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.2472, allocations: 109.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.2472, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.247e-05/0.2472, allocations: 43.02 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.2473, allocations: 130.7 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2475, allocations: 164.7 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.2475, allocations: 29.64 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.2475, allocations: 108 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.2476, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.2476, allocations: 13.72 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.2477, allocations: 322.8 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.2477, allocations: 8 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.2477, allocations: 18.58 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.2478, allocations: 26.52 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2478, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001019/0.2479, allocations: 61.58 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2479, allocations: 8 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2479, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2479, allocations: 3.938 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.248, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.248, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.248, allocations: 7.891 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.248, allocations: 4 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.926e-05/0.2481, allocations: 197.2 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.2482, allocations: 108.9 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.2482, allocations: 124.7 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.375e-05/0.2483, allocations: 180.2 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.905e-05/0.2484, allocations: 180.3 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-05/0.2484, allocations: 188.2 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.2486, allocations: 429.2 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-05/0.2487, allocations: 104.9 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.2487, allocations: 101 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.343e-05/0.2488, allocations: 180.3 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.2488, allocations: 188.1 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.798e-05/0.2489, allocations: 180.5 kB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.555e-05/0.2489, allocations: 184.2 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.2491, allocations: 307.8 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.2491, allocations: 198.1 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.2492, allocations: 184.2 kB / 1.095 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.2493, allocations: 108.9 kB / 1.095 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.2494, allocations: 184.2 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.2494, allocations: 101 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.939e-05/0.2495, allocations: 133.4 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2495, allocations: 0 / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002035/0.2497, allocations: 4 kB / 1.096 GB, free: 8.891 MB / 0.8575 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 (0): * Single equations (assignments): 0 * 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.0001156/0.2498, allocations: 178.5 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.853e-05/0.2499, allocations: 12 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2499, allocations: 0 / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.2499, allocations: 0 / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.2502, allocations: 467.6 kB / 1.096 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.2505, allocations: 237.2 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2508, allocations: 0.6885 MB / 1.097 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.622e-05/0.2508, allocations: 4 kB / 1.097 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.2508, allocations: 11.44 kB / 1.097 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.2508, allocations: 0 / 1.097 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of Templates: time 0.002061/0.2529, allocations: 436.5 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches