Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008668/0.0008669, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005213/0.005213, allocations: 170 kB / 16.26 MB, free: 6.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.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.34/2.34, allocations: 462.6 MB / 0.7364 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002918, allocations: 8.844 kB / 0.9027 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2494, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001413/0.2508, allocations: 1.26 MB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9e-05/0.2509, allocations: 31.91 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.251, allocations: 3.938 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.962e-05/0.2511, allocations: 4 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.584e-05/0.2511, allocations: 3.938 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.851e-05/0.2512, allocations: 23.97 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.2513, allocations: 47.78 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2514, allocations: 27.91 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.2515, allocations: 15.92 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.2515, allocations: 23.86 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.2515, allocations: 7.984 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-06/0.2516, allocations: 0 / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.2516, allocations: 11.98 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.2517, allocations: 49.5 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.896e-05/0.2517, allocations: 56.03 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2517, allocations: 0 / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2518, allocations: 0 / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2518, allocations: 0 / 1.06 GB, free: 3.449 MB / 0.8106 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.0003138/0.2521, allocations: 347.4 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2521, allocations: 15.97 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.2522, allocations: 8.844 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2523, allocations: 188.2 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2523, allocations: 12.25 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.2523, allocations: 8.375 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2525, allocations: 92.8 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.2525, allocations: 4.188 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.2525, allocations: 3.938 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2525, allocations: 7.984 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.2526, allocations: 47.91 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.2531, allocations: 0.6362 MB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.647e-05/0.2532, allocations: 169.1 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.2532, allocations: 84.08 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.2532, allocations: 79.22 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.2533, allocations: 105.8 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2533, allocations: 4 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.571e-05/0.2533, allocations: 37.55 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.2534, allocations: 126.7 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.2536, allocations: 175.8 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.2536, allocations: 25.7 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.2536, allocations: 99.95 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.2536, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.2537, allocations: 17.72 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.2538, allocations: 318.8 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.2538, allocations: 8 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.2538, allocations: 26.5 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.2538, allocations: 22.58 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2539, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.87e-05/0.254, allocations: 57.55 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.254, allocations: 9.406 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.254, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.254, allocations: 3.938 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.2541, allocations: 15.92 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.2541, allocations: 4 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.2541, allocations: 7.938 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-06/0.2541, allocations: 4 kB / 1.063 GB, free: 464 kB / 0.8106 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.287e-05/0.2542, allocations: 189.2 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.2543, allocations: 116.9 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.2543, allocations: 120.7 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.99e-05/0.2544, allocations: 176.3 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/0.2544, allocations: 176.3 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.519e-05/0.2545, allocations: 192.2 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.2547, allocations: 425.2 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/0.2548, allocations: 104.9 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.2548, allocations: 105.1 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.794e-05/0.2548, allocations: 184.3 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.2549, allocations: 184.1 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-05/0.255, allocations: 180.3 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.174e-05/0.255, allocations: 188.2 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.2551, allocations: 307.7 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.2552, allocations: 190 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.2553, allocations: 184.2 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.2554, allocations: 108.9 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.2554, allocations: 180.3 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.2555, allocations: 108.9 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.95e-05/0.2556, allocations: 130.1 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2556, allocations: 0 / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002006/0.2558, allocations: 4 kB / 1.066 GB, free: 12.75 MB / 0.8262 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.0001078/0.2559, allocations: 182.5 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.549e-05/0.2559, allocations: 12 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2559, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.256, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.2563, allocations: 0.5326 MB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.2566, allocations: 242.1 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.2568, allocations: 0.7004 MB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.2568, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.2568, allocations: 11.44 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2568, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of Templates: time 0.001929/0.2588, allocations: 400.7 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches