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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001389/0.001389, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001329/0.001329, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.452/1.452, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437.1 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 72.19 kB / 0.8694 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3769, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003302/0.3802, allocations: 1.589 MB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.3804, allocations: 35.84 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.3804, allocations: 4 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3806, allocations: 7.922 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.3807, allocations: 3.938 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.3808, allocations: 15.98 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3809, allocations: 47.84 kB / 1.019 GB, free: 9.293 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.3811, allocations: 39.88 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.3811, allocations: 19.92 kB / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.3812, allocations: 27.86 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.3813, allocations: 4 kB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.3813, allocations: 4 kB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.3813, allocations: 15.98 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.3814, allocations: 31.8 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.961e-05/0.3815, allocations: 48.16 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3815, allocations: 0 / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3815, allocations: 0 / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3815, allocations: 0 / 1.019 GB, free: 9.105 MB / 0.795 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.0004944/0.382, allocations: 359.3 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3821, allocations: 16.56 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.3821, allocations: 16.77 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.3823, allocations: 180.3 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3824, allocations: 8.312 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3824, allocations: 8.375 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3826, allocations: 103.3 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3826, allocations: 4.172 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3826, allocations: 3.938 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3826, allocations: 4 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.3827, allocations: 35.98 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.3835, allocations: 0.644 MB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3836, allocations: 169.1 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.3836, allocations: 88.12 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.3837, allocations: 79.28 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.3838, allocations: 109.8 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 4.429e-06/0.3838, allocations: 3.984 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.038e-05/0.3838, allocations: 41.48 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.3839, allocations: 126.7 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.3841, allocations: 172.8 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3842, allocations: 25.7 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.3843, allocations: 104 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.3843, allocations: 0 / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.3843, allocations: 13.72 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3845, allocations: 318.8 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.3845, allocations: 8 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.3845, allocations: 18.58 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.3846, allocations: 30.52 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3846, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001308/0.3847, allocations: 61.53 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3848, allocations: 4 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3848, allocations: 0 / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3848, allocations: 8.031 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.3849, allocations: 7.938 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3849, allocations: 4 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.3849, allocations: 7.844 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.3849, allocations: 7.984 kB / 1.022 GB, free: 6.09 MB / 0.795 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.0001392/0.3851, allocations: 189.1 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.3852, allocations: 112.8 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.156e-05/0.3852, allocations: 124.8 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.6e-05/0.3853, allocations: 180.2 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-05/0.3854, allocations: 176.3 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-05/0.3855, allocations: 184.3 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.3858, allocations: 433.2 kB / 1.023 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-05/0.3859, allocations: 101 kB / 1.023 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.386, allocations: 116.9 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-05/0.386, allocations: 176.3 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-05/0.3861, allocations: 184.2 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.342e-05/0.3862, allocations: 180.2 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.54e-05/0.3863, allocations: 180.3 kB / 1.024 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.3865, allocations: 311.7 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3866, allocations: 194 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.3867, allocations: 184.1 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.3868, allocations: 101 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.3869, allocations: 188.2 kB / 1.025 GB, free: 2.629 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.387, allocations: 109 kB / 1.025 GB, free: 2.516 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001171/0.3871, allocations: 127.2 kB / 1.025 GB, free: 2.391 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3871, allocations: 0 / 1.025 GB, free: 2.391 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002274/0.3873, allocations: 4 kB / 1.025 GB, free: 2.387 MB / 0.795 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.0001635/0.3875, allocations: 175.1 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.287e-05/0.3876, allocations: 11.94 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3876, allocations: 4.188 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.3876, allocations: 0 / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.388, allocations: 469.8 kB / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.3884, allocations: 267.1 kB / 1.026 GB, free: 1.434 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3888, allocations: 0.6963 MB / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.3888, allocations: 11.38 kB / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.3888, allocations: 0 / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of Templates: time 0.002644/0.3915, allocations: 0.8046 MB / 1.028 GB, free: 15.89 MB / 0.8106 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=400 -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