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.004867/0.004867, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001189/0.001189, allocations: 195.7 kB / 16.68 MB, free: 5.934 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.172/1.172, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.331/2.331, allocations: 472.6 MB / 0.7453 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 63.91 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.6267, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002171/0.6289, allocations: 1.536 MB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 9.753e-05/0.629, allocations: 31.86 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.629, allocations: 8 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.621e-05/0.6291, allocations: 11.86 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.767e-05/0.6292, allocations: 7.922 kB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.711e-05/0.6293, allocations: 23.97 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.6294, allocations: 47.84 kB / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.6295, allocations: 35.97 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.773e-05/0.6295, allocations: 19.92 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.6296, allocations: 27.86 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.6296, allocations: 4 kB / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.6296, allocations: 4 kB / 1.227 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.6296, allocations: 19.97 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.6297, allocations: 27.8 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 8.616e-05/0.6298, allocations: 56.27 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6298, allocations: 4 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6298, allocations: 7.938 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.6298, allocations: 0 / 1.227 GB, free: 11.61 MB / 0.9512 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.0003319/0.6301, allocations: 367.2 kB / 1.228 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.6302, allocations: 8.031 kB / 1.228 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.6302, allocations: 12.88 kB / 1.228 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.6303, allocations: 176.4 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.6304, allocations: 8.375 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.6304, allocations: 4.375 kB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.6305, allocations: 112.7 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.6305, allocations: 192 / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.6306, allocations: 3.938 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.6306, allocations: 0 / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.6306, allocations: 43.92 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.6311, allocations: 0.6402 MB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.858e-05/0.6312, allocations: 169.1 kB / 1.229 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.6312, allocations: 88.14 kB / 1.229 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.6313, allocations: 75.28 kB / 1.229 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.6313, allocations: 113.8 kB / 1.229 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.6313, allocations: 0 / 1.229 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 5.907e-05/0.6314, allocations: 37.59 kB / 1.229 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.6314, allocations: 126.7 kB / 1.229 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.6316, allocations: 172.7 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.6316, allocations: 25.7 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.6316, allocations: 104.1 kB / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.6317, allocations: 0 / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.6317, allocations: 17.72 kB / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.6318, allocations: 326.8 kB / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.6318, allocations: 4 kB / 1.23 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.6318, allocations: 18.58 kB / 1.23 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.6319, allocations: 34.52 kB / 1.23 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6319, allocations: 0 / 1.23 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.473e-05/0.632, allocations: 57.58 kB / 1.23 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.632, allocations: 4 kB / 1.23 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.632, allocations: 0 / 1.23 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.632, allocations: 7.938 kB / 1.23 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.6321, allocations: 4 kB / 1.23 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.6321, allocations: 0 / 1.23 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.6321, allocations: 15.88 kB / 1.23 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.6321, allocations: 12.03 kB / 1.23 GB, free: 8.598 MB / 0.9512 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 7.423e-05/0.6322, allocations: 185.7 kB / 1.23 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.6323, allocations: 112.9 kB / 1.23 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.6323, allocations: 116.8 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.138e-05/0.6324, allocations: 188.1 kB / 1.231 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.023e-05/0.6324, allocations: 176.3 kB / 1.231 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.062e-05/0.6325, allocations: 185.4 kB / 1.231 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.6327, allocations: 433.2 kB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/0.6327, allocations: 101 kB / 1.232 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.6328, allocations: 109 kB / 1.232 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.192e-05/0.6328, allocations: 176.3 kB / 1.232 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.6329, allocations: 196.1 kB / 1.232 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-05/0.6329, allocations: 176.3 kB / 1.232 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.203e-05/0.633, allocations: 180.2 kB / 1.232 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.6331, allocations: 312.1 kB / 1.233 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.6332, allocations: 198 kB / 1.233 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.6332, allocations: 188.2 kB / 1.233 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.6333, allocations: 104.9 kB / 1.233 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.6334, allocations: 180.2 kB / 1.233 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.6334, allocations: 101 kB / 1.233 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.623e-05/0.6335, allocations: 127.2 kB / 1.234 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6335, allocations: 0 / 1.234 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002142/0.6337, allocations: 12 kB / 1.234 GB, free: 4.891 MB / 0.9512 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.0001095/0.6338, allocations: 178.4 kB / 1.234 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 5.433e-05/0.6339, allocations: 11.94 kB / 1.234 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6339, allocations: 4 kB / 1.234 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/0.6339, allocations: 3.984 kB / 1.234 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.6342, allocations: 463.8 kB / 1.234 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.6345, allocations: 233 kB / 1.234 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.6347, allocations: 0.6924 MB / 1.235 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.542e-05/0.6347, allocations: 4 kB / 1.235 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.6348, allocations: 7.438 kB / 1.235 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6348, allocations: 0 / 1.235 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of Templates: time 0.001798/0.6366, allocations: 436.5 kB / 1.235 GB, free: 2.82 MB / 0.9512 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