Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001338/0.001338, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003924, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8549, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002209/0.8572, allocations: 1.262 MB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002267/0.8575, allocations: 31.84 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.931e-05/0.8576, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.8578, allocations: 7.938 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.8578, allocations: 7.938 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.858, allocations: 19.97 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.8581, allocations: 47.84 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.8583, allocations: 27.97 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.8583, allocations: 15.94 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.126e-05/0.8584, allocations: 15.86 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.8584, allocations: 8 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-06/0.8584, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.8585, allocations: 15.98 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.8586, allocations: 49.5 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.8587, allocations: 37.91 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.8587, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8587, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8587, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 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.0004833/0.8592, allocations: 352.9 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.8593, allocations: 15.97 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.8593, allocations: 8.844 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.8596, allocations: 188.2 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.8596, allocations: 12.31 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.8596, allocations: 4.375 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.8598, allocations: 100.8 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.8598, allocations: 4.125 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.8598, allocations: 7.938 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.8599, allocations: 4 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.86, allocations: 47.97 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.8607, allocations: 0.6322 MB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.8608, allocations: 177.1 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.8609, allocations: 80.14 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.8609, allocations: 83.31 kB / 1.027 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/0.861, allocations: 105.8 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.861, allocations: 0 / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001014/0.8611, allocations: 45.48 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.8612, allocations: 126.7 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.8614, allocations: 169.4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.8614, allocations: 25.7 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.8615, allocations: 111.9 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/0.8615, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.8616, allocations: 9.719 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8617, allocations: 318.8 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.8617, allocations: 8 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.8618, allocations: 22.58 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.318e-05/0.8618, allocations: 30.5 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8618, allocations: 4 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001432/0.862, allocations: 57.55 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.862, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.862, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.862, allocations: 3.938 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.8621, allocations: 11.98 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.8621, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.8622, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.8622, allocations: 4 kB / 1.028 GB, free: 11.3 MB / 0.7794 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.0001325/0.8623, allocations: 193.8 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.8624, allocations: 112.8 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.8625, allocations: 120.8 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.751e-05/0.8626, allocations: 184.1 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.83e-05/0.8626, allocations: 180.3 kB / 1.029 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.39e-05/0.8627, allocations: 176.3 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.863, allocations: 433.1 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-05/0.863, allocations: 101 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.8631, allocations: 108.9 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-05/0.8632, allocations: 184.2 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.299e-05/0.8633, allocations: 180.2 kB / 1.03 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.94e-05/0.8633, allocations: 180.4 kB / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.601e-05/0.8634, allocations: 184.3 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.8636, allocations: 319.7 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.8637, allocations: 186 kB / 1.031 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.8638, allocations: 184.1 kB / 1.031 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.8639, allocations: 117 kB / 1.031 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/0.864, allocations: 180.2 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.8641, allocations: 101 kB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001162/0.8642, allocations: 127.2 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8642, allocations: 0 / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002309/0.8644, allocations: 4 kB / 1.031 GB, free: 7.602 MB / 0.7794 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.0001659/0.8646, allocations: 182.5 kB / 1.031 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.753e-05/0.8647, allocations: 11.92 kB / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8647, allocations: 0 / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.8647, allocations: 0 / 1.031 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.8652, allocations: 0.5224 MB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.8656, allocations: 271.8 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.8659, allocations: 0.6965 MB / 1.033 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.8659, allocations: 15.31 kB / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of SimCode: time 7.61e-07/0.8659, allocations: 0 / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.002757/0.8687, allocations: 0.7967 MB / 1.034 GB, free: 5.047 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches