Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 105.5 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.001406/0.001406, 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.7111 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 58.22 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3348, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003369/0.3383, allocations: 1.91 MB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.3424, allocations: 3.448 MB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.3425, allocations: 0 / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.3429, allocations: 55.62 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.3433, allocations: 127.3 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.811e-05/0.3434, allocations: 23.97 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.3437, allocations: 163.2 kB / 1.024 GB, free: 4.879 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3438, allocations: 33.66 kB / 1.024 GB, free: 4.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.344, allocations: 79.64 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3441, allocations: 79.62 kB / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.3442, allocations: 8 kB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.3443, allocations: 31.92 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.3443, allocations: 39.81 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.3444, allocations: 75.55 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.3447, allocations: 163.3 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3447, allocations: 4 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3447, allocations: 0 / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3447, allocations: 3.938 kB / 1.024 GB, free: 4.367 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008992/0.3456, allocations: 0.4906 MB / 1.025 GB, free: 3.828 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3456, allocations: 12.03 kB / 1.025 GB, free: 3.816 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.3457, allocations: 20.66 kB / 1.025 GB, free: 3.797 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.3461, allocations: 242.9 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3461, allocations: 8.375 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3461, allocations: 384 / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.3465, allocations: 145.6 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3465, allocations: 3.938 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.3465, allocations: 4 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.3466, allocations: 11.98 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.347, allocations: 135.9 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.3477, allocations: 432.6 kB / 1.026 GB, free: 2.738 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.3482, allocations: 166.4 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.3484, allocations: 108.8 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3485, allocations: 7.984 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3485, allocations: 30.56 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.3485, allocations: 0 / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0008519/0.3494, allocations: 282.2 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3494, allocations: 59.34 kB / 1.026 GB, free: 2.059 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3496, allocations: 209 kB / 1.026 GB, free: 1.844 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3497, allocations: 29.7 kB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.501e-05/0.3497, allocations: 124 kB / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.3498, allocations: 43.25 kB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.3499, allocations: 37.69 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.35, allocations: 334.8 kB / 1.027 GB, free: 1.262 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3502, allocations: 67.94 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.3505, allocations: 68.69 kB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.3509, allocations: 162.2 kB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3509, allocations: 0 / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000519/0.3515, allocations: 201.4 kB / 1.027 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3515, allocations: 8 kB / 1.027 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3515, allocations: 3.984 kB / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3515, allocations: 0 / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.3518, allocations: 39.91 kB / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3518, allocations: 0 / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.3519, allocations: 15.98 kB / 1.027 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.352, allocations: 3.984 kB / 1.027 GB, free: 0.6953 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001168/0.3521, allocations: 129.8 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3521, allocations: 23.72 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.3522, allocations: 33.81 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3522, allocations: 0 / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3522, allocations: 0 / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3522, allocations: 0 / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.3525, allocations: 265.4 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3525, allocations: 0 / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.3528, allocations: 35.91 kB / 1.028 GB, free: 168 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3528, allocations: 4 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3528, allocations: 7.984 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3528, allocations: 0 / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3528, allocations: 0 / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.3534, allocations: 318.3 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3535, allocations: 104.9 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.3536, allocations: 11.98 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.3538, allocations: 11.98 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.3538, allocations: 19.86 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.3538, allocations: 0 / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001335/0.354, allocations: 156.5 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.354, allocations: 0 / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000272/0.3543, allocations: 43.94 kB / 1.029 GB, free: 15.47 MB / 0.8106 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 (13): * Single equations (assignments): 13 * 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.0001629/0.3544, allocations: 103.2 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.355, allocations: 183.8 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.355, allocations: 4 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.3553, allocations: 95.86 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3556, allocations: 30.09 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/0.3565, allocations: 447.6 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.3568, allocations: 0.7274 MB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.3569, allocations: 23.42 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.3569, allocations: 4 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.00436/0.3613, allocations: 2.222 MB / 1.032 GB, free: 11.6 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches