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.0009244/0.0009244, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009898/0.0009897, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 12 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6048/0.6052, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001572/0.6068, allocations: 1.242 MB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.405e-05/0.6069, allocations: 23.92 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.607, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.6071, allocations: 11.94 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.6071, allocations: 7.984 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.186e-05/0.6072, allocations: 23.91 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.275e-05/0.6073, allocations: 27.97 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.6074, allocations: 23.97 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.6075, allocations: 19.92 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.6075, allocations: 19.92 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.6076, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.6076, allocations: 4 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.6076, allocations: 19.91 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.6077, allocations: 37.64 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.659e-05/0.6077, allocations: 29.91 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.6077, allocations: 3.938 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6077, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.6078, allocations: 0 / 1.022 GB, free: 15.61 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.0003542/0.6081, allocations: 367.1 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6082, allocations: 11.98 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.6082, allocations: 7.906 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.6084, allocations: 175 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.6084, allocations: 11.95 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.6084, allocations: 4 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.6086, allocations: 100.2 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.6086, allocations: 0 / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.6086, allocations: 8 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6086, allocations: 0 / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.058e-05/0.6087, allocations: 51.91 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.6093, allocations: 0.6401 MB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.6094, allocations: 169.1 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.6094, allocations: 75.28 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.6095, allocations: 113.8 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.6095, allocations: 0 / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.054e-05/0.6096, allocations: 41.58 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.6096, allocations: 134.7 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.6098, allocations: 167.2 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.6098, allocations: 25.7 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.6099, allocations: 104 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.6099, allocations: 3.938 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.6099, allocations: 0 / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.61, allocations: 322.8 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.61, allocations: 4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.6101, allocations: 26.56 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.6101, allocations: 4 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6101, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001152/0.6102, allocations: 57.55 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.6102, allocations: 8 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6103, allocations: 11.98 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6103, allocations: 3.984 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.6103, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.6103, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.6104, allocations: 7.906 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.6104, allocations: 4 kB / 1.025 GB, free: 12.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.6105, allocations: 189.1 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.6106, allocations: 112.9 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.6106, allocations: 116.8 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.079e-05/0.6107, allocations: 184.2 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.706e-05/0.6108, allocations: 180.2 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.893e-05/0.6108, allocations: 180.2 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.6111, allocations: 425.1 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/0.6111, allocations: 108.9 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.6111, allocations: 105 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-05/0.6112, allocations: 184.2 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.6113, allocations: 176.3 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.142e-05/0.6113, allocations: 180.3 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.943e-05/0.6114, allocations: 184.2 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.6115, allocations: 324 kB / 1.027 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.6116, allocations: 194 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-05/0.6117, allocations: 180.2 kB / 1.028 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.6118, allocations: 104.9 kB / 1.028 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.6119, allocations: 184.2 kB / 1.028 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.6119, allocations: 112.9 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.764e-05/0.612, allocations: 121.1 kB / 1.028 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.542e-06/0.612, allocations: 0 / 1.028 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002293/0.6122, allocations: 11.94 kB / 1.028 GB, free: 9.035 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 (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.0001246/0.6124, allocations: 174.5 kB / 1.028 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.663e-05/0.6124, allocations: 12.06 kB / 1.028 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6124, allocations: 4 kB / 1.028 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.6125, allocations: 3.938 kB / 1.028 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.6127, allocations: 0.5185 MB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.6131, allocations: 242.2 kB / 1.029 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.6133, allocations: 0.701 MB / 1.03 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.6134, allocations: 7.984 kB / 1.03 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.6134, allocations: 7.438 kB / 1.03 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6134, allocations: 0 / 1.03 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of Templates: time 0.002205/0.6156, allocations: 402.5 kB / 1.03 GB, free: 6.91 MB / 0.7794 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","../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches