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.001207/0.001207, allocations: 114.8 kB / 16.37 MB, free: 6.004 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.001212/0.001212, allocations: 196 kB / 17.31 MB, free: 5.613 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.229/2.229, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.58 kB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2598, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002388/0.2622, allocations: 1.53 MB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 9.37e-05/0.2623, allocations: 31.84 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.2624, allocations: 7.938 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.2625, allocations: 11.86 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.615e-05/0.2625, allocations: 3.938 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.326e-05/0.2626, allocations: 23.97 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.2627, allocations: 43.91 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2629, allocations: 39.88 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.2629, allocations: 23.91 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.263, allocations: 27.86 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.263, allocations: 4 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.263, allocations: 8 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.263, allocations: 19.92 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.2631, allocations: 23.86 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.993e-05/0.2632, allocations: 63.62 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2632, allocations: 4 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2632, allocations: 0 / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2632, allocations: 0 / 1.021 GB, free: 7.93 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.0003258/0.2635, allocations: 355.4 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.2636, allocations: 8.922 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.2636, allocations: 12.84 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2637, allocations: 184.3 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2638, allocations: 8.312 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.2638, allocations: 8.375 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.2639, allocations: 98.72 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2639, allocations: 192 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2639, allocations: 7.938 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2639, allocations: 3.984 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.045e-05/0.264, allocations: 47.92 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.2645, allocations: 0.6322 MB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.454e-05/0.2646, allocations: 165.1 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.2646, allocations: 93.61 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2646, allocations: 75.28 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.2647, allocations: 117.8 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2647, allocations: 0 / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 6.127e-05/0.2648, allocations: 37.55 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.2648, allocations: 126.7 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2649, allocations: 173.2 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.265, allocations: 25.7 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.265, allocations: 108 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.265, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.2651, allocations: 13.72 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.2651, allocations: 322.8 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.2652, allocations: 0 / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.2652, allocations: 30.52 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.2652, allocations: 26.58 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2652, allocations: 0 / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001012/0.2653, allocations: 57.53 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.2654, allocations: 4 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2654, allocations: 4.094 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2654, allocations: 7.938 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-05/0.2654, allocations: 4 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2654, allocations: 3.938 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.2655, allocations: 15.84 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.2655, allocations: 3.984 kB / 1.023 GB, free: 4.93 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 8.105e-05/0.2656, allocations: 193.1 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.2656, allocations: 112.9 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.2657, allocations: 128.8 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/0.2657, allocations: 184.2 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.916e-05/0.2658, allocations: 176.3 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.897e-05/0.2659, allocations: 180.2 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.2661, allocations: 425.2 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-05/0.2661, allocations: 112.9 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.2661, allocations: 101 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.255e-05/0.2662, allocations: 176.3 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/0.2662, allocations: 192.1 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.187e-05/0.2663, allocations: 176.5 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.36e-05/0.2663, allocations: 184.1 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.2665, allocations: 315.8 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.2665, allocations: 189.9 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.2666, allocations: 188.2 kB / 1.026 GB, free: 1.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.2667, allocations: 104.9 kB / 1.026 GB, free: 1.648 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.2667, allocations: 188.2 kB / 1.026 GB, free: 1.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.2667, allocations: 101 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.123e-05/0.2668, allocations: 133.4 kB / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2668, allocations: 0 / 1.027 GB, free: 1.223 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002033/0.267, allocations: 8 kB / 1.027 GB, free: 1.215 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.0001052/0.2672, allocations: 170.5 kB / 1.027 GB, free: 1.035 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.29e-05/0.2672, allocations: 16 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2672, allocations: 4 kB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.2672, allocations: 0 / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.2675, allocations: 471.5 kB / 1.027 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.2678, allocations: 221.4 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.268, allocations: 0.6926 MB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.2681, allocations: 4 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.2681, allocations: 11.44 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2681, allocations: 0 / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of Templates: time 0.001997/0.2701, allocations: 432.4 kB / 1.029 GB, free: 15.15 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 -s cvode -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