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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001378/0.001378, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 199.1 kB / 16.79 MB, free: 6.828 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.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 63.91 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7619, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003297/0.7652, allocations: 1.605 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001445/0.7654, allocations: 27.86 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.7655, allocations: 4 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.7656, allocations: 3.938 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.7657, allocations: 3.938 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.7658, allocations: 23.97 kB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.7659, allocations: 43.84 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.7661, allocations: 27.98 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.7661, allocations: 23.92 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.7662, allocations: 27.84 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.7662, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.7662, allocations: 4 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.7663, allocations: 23.92 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.7664, allocations: 23.81 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.211e-05/0.7664, allocations: 45.89 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7665, allocations: 4 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7665, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.7665, allocations: 0 / 1.019 GB, free: 0.8828 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.0004298/0.7669, allocations: 363.3 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.767, allocations: 8.031 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.767, allocations: 8.844 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.7672, allocations: 188.1 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.7672, allocations: 12.38 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.7672, allocations: 8.359 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.7674, allocations: 100.8 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7674, allocations: 192 / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.7675, allocations: 3.938 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.7675, allocations: 0 / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.96e-05/0.7676, allocations: 47.91 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.7682, allocations: 0.64 MB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/0.7683, allocations: 177.1 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.7684, allocations: 88.17 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.7684, allocations: 75.28 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.7685, allocations: 105.8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.7685, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.127e-05/0.7686, allocations: 37.55 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.7686, allocations: 126.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.7688, allocations: 176.1 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.7689, allocations: 25.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.7689, allocations: 108 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.769, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/0.769, allocations: 17.72 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7691, allocations: 318.8 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.7692, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.7692, allocations: 22.58 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.7692, allocations: 34.5 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7693, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001317/0.7694, allocations: 53.55 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.7694, allocations: 6.031 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7694, allocations: 8.094 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7694, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.7695, allocations: 7.984 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7695, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/0.7696, allocations: 11.91 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.7696, allocations: 3.938 kB / 1.022 GB, free: 13.87 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.0001128/0.7697, allocations: 189.7 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.7698, allocations: 116.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.7698, allocations: 120.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-05/0.7699, allocations: 180.3 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.803e-05/0.77, allocations: 180.2 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.097e-05/0.77, allocations: 184.2 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.7703, allocations: 425.1 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-05/0.7703, allocations: 109 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.7704, allocations: 105 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.697e-05/0.7704, allocations: 180.2 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.7705, allocations: 184.2 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.115e-05/0.7706, allocations: 180.2 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.658e-05/0.7706, allocations: 184.5 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.7708, allocations: 319.7 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.7709, allocations: 186 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.771, allocations: 192.1 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.7711, allocations: 101 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.7711, allocations: 180.3 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.7712, allocations: 104.9 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001038/0.7713, allocations: 130.1 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7713, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002225/0.7715, allocations: 8 kB / 1.025 GB, free: 10.16 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.0001519/0.7717, allocations: 178.5 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.064e-05/0.7718, allocations: 20.06 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.7718, allocations: 0 / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.7718, allocations: 0 / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.7722, allocations: 0.5225 MB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.7725, allocations: 268.8 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.7728, allocations: 0.6926 MB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.7729, allocations: 11.44 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.7729, allocations: 0 / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.002284/0.7752, allocations: 0.7966 MB / 1.028 GB, free: 7.609 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=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