Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 179.9 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009024/0.000902, allocations: 102.4 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 15.69 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2395, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.4237, allocations: 132 MB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4241, allocations: 87.92 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002388/0.4265, allocations: 0.9155 MB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4265, allocations: 0 / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.4265, allocations: 4 kB / 1.03 GB, free: 11.3 MB / 0.6823 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.0003696/0.4269, allocations: 355.1 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4269, allocations: 12.03 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.427, allocations: 7.906 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.4272, allocations: 183 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.4272, allocations: 8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.4272, allocations: 8 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.4274, allocations: 98.42 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4274, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4274, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4274, allocations: 4 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/0.4275, allocations: 39.97 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.4282, allocations: 0.6556 MB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.4283, allocations: 173.1 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.4283, allocations: 75.28 kB / 1.032 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.4284, allocations: 105.8 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4284, allocations: 4 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.99e-05/0.4285, allocations: 38.36 kB / 1.032 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.4285, allocations: 126.7 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4287, allocations: 164.5 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.4287, allocations: 25.7 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.4288, allocations: 108 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.4288, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.4288, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4289, allocations: 314.8 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.429, allocations: 7.984 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.429, allocations: 18.58 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.429, allocations: 12 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.429, allocations: 0 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001193/0.4292, allocations: 61.48 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4292, allocations: 4 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4292, allocations: 4 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.4292, allocations: 0 / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.4293, allocations: 11.94 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4293, allocations: 4.094 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.4293, allocations: 11.84 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.4293, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.4295, allocations: 201 kB / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.4295, allocations: 112.8 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.4296, allocations: 118.4 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.419e-05/0.4297, allocations: 176.4 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.206e-05/0.4297, allocations: 192.2 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.588e-05/0.4298, allocations: 176.3 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.4301, allocations: 429.2 kB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/0.4301, allocations: 104.9 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.4302, allocations: 101 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-05/0.4302, allocations: 192.2 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.959e-05/0.4303, allocations: 180.2 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.925e-05/0.4304, allocations: 180.2 kB / 1.035 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.879e-05/0.4304, allocations: 188.1 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.4306, allocations: 315.7 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.4307, allocations: 190 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.4308, allocations: 180.3 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.4309, allocations: 109.7 kB / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.431, allocations: 176.3 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.431, allocations: 108.9 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.507e-05/0.4311, allocations: 134.3 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4311, allocations: 0 / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002245/0.4313, allocations: 8 kB / 1.036 GB, free: 4.746 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.4315, allocations: 170.5 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.684e-05/0.4316, allocations: 8 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4316, allocations: 4 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.417e-06/0.4316, allocations: 3.938 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.4319, allocations: 0.5226 MB / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.4323, allocations: 238.1 kB / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4326, allocations: 0.6965 MB / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.126e-05/0.4326, allocations: 7.984 kB / 1.038 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.4326, allocations: 7.438 kB / 1.038 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4326, allocations: 0 / 1.038 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of Templates: time 0.00229/0.4349, allocations: 400.2 kB / 1.038 GB, free: 2.633 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches