Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00155/0.00155, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001478/0.001478, allocations: 190.4 kB / 16.91 MB, free: 6.195 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.691/2.691, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.3 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3541, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003543/0.3577, allocations: 1.964 MB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004424/0.3621, allocations: 3.4 MB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3623, allocations: 0 / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.3626, allocations: 47.8 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.3631, allocations: 127.3 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.517e-05/0.3632, allocations: 19.97 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.3635, allocations: 171.2 kB / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3636, allocations: 33.67 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3638, allocations: 83.62 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.364, allocations: 79.67 kB / 1.07 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.364, allocations: 8 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.3641, allocations: 27.92 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.3642, allocations: 35.84 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.3643, allocations: 79.53 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3645, allocations: 111.7 kB / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3645, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.779e-06/0.3645, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3645, allocations: 3.938 kB / 1.07 GB, free: 8.93 MB / 0.8419 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.0009469/0.3654, allocations: 0.4984 MB / 1.071 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3655, allocations: 12.03 kB / 1.071 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.3656, allocations: 24.66 kB / 1.071 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.366, allocations: 242.8 kB / 1.071 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.366, allocations: 12.36 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.366, allocations: 384 / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.3664, allocations: 133.7 kB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3664, allocations: 3.938 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.3664, allocations: 4 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.3665, allocations: 15.98 kB / 1.071 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.3669, allocations: 131.9 kB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.3677, allocations: 440.6 kB / 1.072 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.3681, allocations: 166.4 kB / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.3684, allocations: 112.8 kB / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3684, allocations: 0 / 1.072 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3685, allocations: 34.56 kB / 1.072 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.3685, allocations: 0 / 1.072 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0008409/0.3693, allocations: 281.7 kB / 1.072 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3694, allocations: 51.41 kB / 1.072 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.3696, allocations: 213 kB / 1.072 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.3696, allocations: 29.7 kB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.3697, allocations: 124 kB / 1.073 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.3698, allocations: 39.31 kB / 1.073 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.3699, allocations: 37.69 kB / 1.073 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.3701, allocations: 334.8 kB / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.3703, allocations: 71.88 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3705, allocations: 74.69 kB / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.371, allocations: 156.7 kB / 1.073 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.371, allocations: 3.938 kB / 1.073 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005289/0.3715, allocations: 209.4 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3716, allocations: 4 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3716, allocations: 3.984 kB / 1.073 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3716, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.3718, allocations: 35.91 kB / 1.074 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3719, allocations: 0 / 1.074 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.372, allocations: 15.89 kB / 1.074 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.372, allocations: 7.984 kB / 1.074 GB, free: 5.25 MB / 0.8419 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.0001385/0.3722, allocations: 135.1 kB / 1.074 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.3722, allocations: 19.81 kB / 1.074 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.3723, allocations: 25.83 kB / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3723, allocations: 0 / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3723, allocations: 0 / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3723, allocations: 0 / 1.074 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.3727, allocations: 269.3 kB / 1.074 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3727, allocations: 0 / 1.074 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.3729, allocations: 39.91 kB / 1.074 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3729, allocations: 0 / 1.074 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.3729, allocations: 3.984 kB / 1.074 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3729, allocations: 4 kB / 1.074 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3729, allocations: 0 / 1.074 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.3735, allocations: 309.7 kB / 1.074 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3737, allocations: 100.9 kB / 1.074 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.3737, allocations: 11.98 kB / 1.074 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3739, allocations: 7.984 kB / 1.074 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.374, allocations: 19.92 kB / 1.074 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.374, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001412/0.3741, allocations: 156.5 kB / 1.075 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3742, allocations: 4 kB / 1.075 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002745/0.3744, allocations: 43.94 kB / 1.075 GB, free: 4.023 MB / 0.8419 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.0001832/0.3746, allocations: 103.2 kB / 1.075 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005502/0.3752, allocations: 187.7 kB / 1.075 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3752, allocations: 4 kB / 1.075 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3754, allocations: 91.86 kB / 1.075 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.3759, allocations: 24.66 kB / 1.075 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.3768, allocations: 499.7 kB / 1.076 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.3772, allocations: 0.7236 MB / 1.076 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.3773, allocations: 23.42 kB / 1.076 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3773, allocations: 4 kB / 1.076 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of Templates: time 0.004678/0.382, allocations: 2.221 MB / 1.078 GB, free: 116 kB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches