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.001479/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00144/0.00144, allocations: 195.6 kB / 16.14 MB, free: 6.641 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.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.372/2.372, allocations: 437 MB / 0.71 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.91 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.5023, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002569/0.5049, allocations: 1.6 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.108e-05/0.505, allocations: 31.86 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.505, allocations: 4 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.5051, allocations: 7.922 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.457e-05/0.5052, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.149e-05/0.5053, allocations: 19.98 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.5053, allocations: 47.78 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.5055, allocations: 31.98 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.5055, allocations: 19.92 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.5056, allocations: 27.84 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.5056, allocations: 4 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.5056, allocations: 0 / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.5057, allocations: 19.97 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.5057, allocations: 27.81 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.036e-05/0.5058, allocations: 49.78 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5058, allocations: 0 / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5058, allocations: 0 / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.5058, allocations: 4 kB / 1.018 GB, free: 0.8672 MB / 0.7637 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.0003942/0.5062, allocations: 367.3 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.5062, allocations: 8.031 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.5063, allocations: 8.844 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.5065, allocations: 192.1 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5065, allocations: 4.375 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.5065, allocations: 8.375 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.5067, allocations: 99.33 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5067, allocations: 4.125 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5067, allocations: 11.94 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.5067, allocations: 3.938 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.596e-05/0.5068, allocations: 43.91 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.5074, allocations: 0.644 MB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/0.5075, allocations: 169.1 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.5075, allocations: 84.17 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.5076, allocations: 79.28 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.5076, allocations: 109.8 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5076, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.743e-05/0.5077, allocations: 37.55 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.5078, allocations: 130.7 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.5079, allocations: 172 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.508, allocations: 25.7 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.508, allocations: 99.98 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.508, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.5081, allocations: 17.72 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5082, allocations: 326.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.5082, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.5083, allocations: 26.56 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.5083, allocations: 30.58 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5083, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001066/0.5084, allocations: 53.55 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.5085, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5085, allocations: 7.922 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5085, allocations: 7.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.5085, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5085, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.5086, allocations: 12 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.5086, allocations: 0 / 1.021 GB, free: 13.85 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.0001071/0.5087, allocations: 189.1 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.5088, allocations: 112.9 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.138e-05/0.5088, allocations: 120.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.466e-05/0.5089, allocations: 180.3 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.218e-05/0.509, allocations: 184.2 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.597e-05/0.5091, allocations: 180.2 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.5093, allocations: 425.1 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.801e-05/0.5094, allocations: 112.9 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.5094, allocations: 101 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-05/0.5095, allocations: 188.2 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/0.5096, allocations: 180.2 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.616e-05/0.5097, allocations: 180.3 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.576e-05/0.5098, allocations: 184.4 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.5099, allocations: 319.7 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.51, allocations: 189.9 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.112e-05/0.5101, allocations: 184.2 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.5102, allocations: 108.9 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.5103, allocations: 184.3 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.5103, allocations: 104.9 kB / 1.024 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.653e-05/0.5104, allocations: 125.3 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5104, allocations: 4 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002301/0.5107, allocations: 12 kB / 1.025 GB, free: 10.13 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.0001367/0.5108, allocations: 179 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.613e-05/0.5109, allocations: 4 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.5109, allocations: 4 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.5109, allocations: 3.938 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.5113, allocations: 0.5226 MB / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.5116, allocations: 243.1 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.5119, allocations: 0.6926 MB / 1.026 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.512, allocations: 7.984 kB / 1.026 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.512, allocations: 7.438 kB / 1.026 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.512, allocations: 0 / 1.026 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.002234/0.5142, allocations: 408.5 kB / 1.027 GB, free: 8.012 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=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/jenkins/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