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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001687/0.001687, allocations: 102 kB / 16.27 MB, free: 6.414 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.001577/0.001577, allocations: 189.2 kB / 17.2 MB, free: 5.953 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.108/3.108, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 64.41 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8312, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002872/0.8341, allocations: 1.54 MB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001128/0.8342, allocations: 27.16 kB / 1.084 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.8343, allocations: 5.875 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.8344, allocations: 11.67 kB / 1.084 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.205e-05/0.8345, allocations: 5.203 kB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.8346, allocations: 17.22 kB / 1.084 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.8347, allocations: 51.06 kB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.8349, allocations: 36.34 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.8349, allocations: 20.47 kB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.835, allocations: 26.66 kB / 1.085 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.835, allocations: 4.375 kB / 1.085 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.835, allocations: 8.469 kB / 1.085 GB, free: 476 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.8351, allocations: 22.36 kB / 1.085 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.8351, allocations: 28.22 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.8352, allocations: 56.09 kB / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8353, allocations: 0 / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8353, allocations: 0.75 kB / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8353, allocations: 0 / 1.085 GB, free: 420 kB / 0.8262 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.0003303/0.8356, allocations: 363.3 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.8356, allocations: 10.31 kB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.8357, allocations: 8.375 kB / 1.085 GB, free: 28 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.8359, allocations: 189.1 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8359, allocations: 3.328 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.836, allocations: 9.219 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.8362, allocations: 97.58 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.8362, allocations: 0.8438 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.8362, allocations: 12.77 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.8362, allocations: 2.906 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-05/0.8363, allocations: 41.48 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.837, allocations: 0.6458 MB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.8371, allocations: 170.2 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.8372, allocations: 84.08 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.8372, allocations: 77.09 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/0.8373, allocations: 105.8 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.8373, allocations: 1.031 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.23e-05/0.8374, allocations: 38.27 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.8375, allocations: 131.2 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.8377, allocations: 169.4 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.8377, allocations: 29.64 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.8378, allocations: 107.3 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/0.8378, allocations: 0 / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.8379, allocations: 21.48 kB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.838, allocations: 319.7 kB / 1.087 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.8381, allocations: 12.23 kB / 1.087 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.8381, allocations: 23.2 kB / 1.087 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.742e-05/0.8381, allocations: 24.52 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8381, allocations: 0.5938 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001225/0.8383, allocations: 57.02 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.8383, allocations: 4.875 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8383, allocations: 1.312 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.8383, allocations: 4.719 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.8384, allocations: 9.547 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.8384, allocations: 1.219 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.8384, allocations: 6.656 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.8385, allocations: 1.469 kB / 1.087 GB, free: 13.73 MB / 0.8419 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 0.0001361/0.8386, allocations: 192.7 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.8387, allocations: 113.7 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.8388, allocations: 123.2 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-05/0.8389, allocations: 178.1 kB / 1.088 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/0.839, allocations: 182.5 kB / 1.088 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.946e-05/0.8391, allocations: 182.1 kB / 1.088 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.8394, allocations: 425.7 kB / 1.089 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-05/0.8395, allocations: 106.8 kB / 1.089 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.8395, allocations: 102.7 kB / 1.089 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.414e-05/0.8396, allocations: 186.1 kB / 1.089 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/0.8397, allocations: 186 kB / 1.089 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-05/0.8398, allocations: 178.6 kB / 1.089 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001038/0.8399, allocations: 185 kB / 1.09 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.8401, allocations: 311.7 kB / 1.09 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.8402, allocations: 187 kB / 1.09 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.8403, allocations: 182.3 kB / 1.09 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.8405, allocations: 110.4 kB / 1.09 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.8406, allocations: 186.2 kB / 1.091 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.8406, allocations: 106.6 kB / 1.091 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000124/0.8408, allocations: 125.6 kB / 1.091 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8408, allocations: 0 / 1.091 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002552/0.841, allocations: 9.812 kB / 1.091 GB, free: 10.14 MB / 0.8419 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.0001846/0.8412, allocations: 181.3 kB / 1.091 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.324e-05/0.8413, allocations: 6.953 kB / 1.091 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.8413, allocations: 0 / 1.091 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.8413, allocations: 8.438 kB / 1.091 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.8418, allocations: 461.9 kB / 1.091 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.8422, allocations: 259.2 kB / 1.092 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.8426, allocations: 0.6906 MB / 1.092 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.8426, allocations: 10.78 kB / 1.092 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.8426, allocations: 0 / 1.092 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.0027/0.8454, allocations: 0.8062 MB / 1.093 GB, free: 8.504 MB / 0.8419 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=400 -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/jenkins1/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