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.001443/0.001443, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001537/0.001537, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.498/2.498, allocations: 437 MB / 0.711 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 64.22 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3702, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.004239/0.3745, allocations: 1.537 MB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.3747, allocations: 31.84 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.3748, allocations: 4 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.375, allocations: 7.938 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.375, allocations: 3.938 kB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.3752, allocations: 19.97 kB / 1.02 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3753, allocations: 51.78 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.3755, allocations: 39.88 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.3756, allocations: 19.92 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.3757, allocations: 23.86 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.3757, allocations: 4 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.3757, allocations: 8 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.3758, allocations: 15.98 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.3759, allocations: 31.8 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.376, allocations: 60.03 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.376, allocations: 0 / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.735e-06/0.376, allocations: 0 / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3761, allocations: 0 / 1.02 GB, free: 8.797 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.0005813/0.3767, allocations: 363.3 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.3767, allocations: 8.922 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3768, allocations: 12.83 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.377, allocations: 188.2 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3771, allocations: 8.312 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3771, allocations: 12.38 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.3773, allocations: 96.8 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3773, allocations: 192 / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3774, allocations: 3.938 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.984e-06/0.3774, allocations: 0 / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3775, allocations: 43.92 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.3782, allocations: 0.6401 MB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3783, allocations: 177.1 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.3784, allocations: 84.14 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.3784, allocations: 75.28 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.3785, allocations: 105.8 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.735e-06/0.3785, allocations: 3.984 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.000101/0.3786, allocations: 39.08 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.3786, allocations: 126.7 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.3788, allocations: 173.6 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3789, allocations: 29.7 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.379, allocations: 104 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-06/0.379, allocations: 4 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.379, allocations: 17.66 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3792, allocations: 322.8 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.3792, allocations: 4 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.3792, allocations: 22.58 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.3793, allocations: 22.58 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3793, allocations: 0 / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000145/0.3794, allocations: 61.53 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3794, allocations: 7.938 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3795, allocations: 4 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3795, allocations: 12.03 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.3795, allocations: 4 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3796, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.3796, allocations: 15.83 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.3796, allocations: 0 / 1.022 GB, free: 5.781 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.0001211/0.3797, allocations: 193.1 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.3798, allocations: 108.9 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.3799, allocations: 128.7 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.257e-05/0.38, allocations: 184.3 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-05/0.38, allocations: 180.2 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-05/0.3801, allocations: 180.2 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3804, allocations: 425.2 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-05/0.3804, allocations: 104.9 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.3805, allocations: 105 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-05/0.3806, allocations: 184.2 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/0.3807, allocations: 188.2 kB / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.315e-05/0.3807, allocations: 176.5 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-05/0.3808, allocations: 180.2 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.381, allocations: 323.7 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.3811, allocations: 182 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.3812, allocations: 188.1 kB / 1.025 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.3813, allocations: 101 kB / 1.025 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.3814, allocations: 184.2 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.3814, allocations: 116.9 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.874e-05/0.3815, allocations: 121.3 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 0 / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002658/0.3818, allocations: 8 kB / 1.026 GB, free: 2.074 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.0001457/0.3819, allocations: 174.5 kB / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.687e-05/0.382, allocations: 8 kB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.382, allocations: 4.188 kB / 1.026 GB, free: 1.879 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.382, allocations: 7.922 kB / 1.026 GB, free: 1.871 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3824, allocations: 461.6 kB / 1.026 GB, free: 1.418 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.3829, allocations: 263.1 kB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3832, allocations: 0.6885 MB / 1.027 GB, free: 424 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.3832, allocations: 11.44 kB / 1.027 GB, free: 416 kB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.3832, allocations: 0 / 1.027 GB, free: 416 kB / 0.795 GB Notification: Performance of Templates: time 0.002392/0.3856, allocations: 0.8045 MB / 1.028 GB, free: 15.6 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=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