Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_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.001741/0.001741, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002281/0.00228, allocations: 194.1 kB / 16.26 MB, free: 6.621 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.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 482.3 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 75.12 kB / 0.9233 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4031, allocations: 162.2 MB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003718/0.4069, allocations: 1.93 MB / 1.084 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004775/0.4117, allocations: 3.494 MB / 1.087 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.4118, allocations: 4 kB / 1.087 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008425/0.4127, allocations: 171.3 kB / 1.087 GB, free: 8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.413, allocations: 63.67 kB / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.084e-05/0.413, allocations: 19.91 kB / 1.087 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000491/0.4135, allocations: 263.2 kB / 1.088 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4137, allocations: 29.83 kB / 1.088 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.4138, allocations: 71.7 kB / 1.088 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.414, allocations: 83.61 kB / 1.088 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.414, allocations: 8 kB / 1.088 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.4141, allocations: 27.92 kB / 1.088 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.4142, allocations: 55.81 kB / 1.088 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.4143, allocations: 87.47 kB / 1.088 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.4146, allocations: 187.2 kB / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4146, allocations: 0 / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4146, allocations: 0 / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.4146, allocations: 0 / 1.088 GB, free: 7.117 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.0009737/0.4156, allocations: 0.5138 MB / 1.089 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4157, allocations: 8.031 kB / 1.089 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.4157, allocations: 20.66 kB / 1.089 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.4161, allocations: 255.6 kB / 1.089 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4161, allocations: 8.25 kB / 1.089 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.4162, allocations: 4.375 kB / 1.089 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.4166, allocations: 137.7 kB / 1.089 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.4166, allocations: 0 / 1.089 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.4166, allocations: 0 / 1.089 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.4166, allocations: 11.98 kB / 1.089 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.4171, allocations: 145.2 kB / 1.089 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.4179, allocations: 444.5 kB / 1.09 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.4183, allocations: 166.5 kB / 1.09 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.4186, allocations: 104.8 kB / 1.09 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.4186, allocations: 0 / 1.09 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4187, allocations: 34.56 kB / 1.09 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 8.12e-07/0.4187, allocations: 0 / 1.09 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0008858/0.4196, allocations: 285.3 kB / 1.09 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.4196, allocations: 51.41 kB / 1.09 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.4199, allocations: 238.6 kB / 1.09 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4199, allocations: 29.7 kB / 1.09 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.42, allocations: 132.1 kB / 1.091 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.4201, allocations: 43.36 kB / 1.091 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.4202, allocations: 29.7 kB / 1.091 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4203, allocations: 342.8 kB / 1.091 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.4206, allocations: 67.94 kB / 1.091 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.4208, allocations: 73.94 kB / 1.091 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.4212, allocations: 164.7 kB / 1.091 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4213, allocations: 0 / 1.091 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005137/0.4218, allocations: 200.8 kB / 1.091 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4218, allocations: 12 kB / 1.091 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4218, allocations: 4 kB / 1.091 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4218, allocations: 0 / 1.091 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.4221, allocations: 35.95 kB / 1.091 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4221, allocations: 0 / 1.091 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.4223, allocations: 27.77 kB / 1.091 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.4223, allocations: 4 kB / 1.091 GB, free: 3.367 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.0001534/0.4224, allocations: 145.7 kB / 1.092 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.4225, allocations: 23.72 kB / 1.092 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.541e-05/0.4226, allocations: 33.83 kB / 1.092 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4226, allocations: 0 / 1.092 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4226, allocations: 0 / 1.092 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4226, allocations: 0 / 1.092 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.4229, allocations: 261.5 kB / 1.092 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4229, allocations: 3.984 kB / 1.092 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.4231, allocations: 31.97 kB / 1.092 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4232, allocations: 7.938 kB / 1.092 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.4232, allocations: 7.984 kB / 1.092 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4232, allocations: 4 kB / 1.092 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4232, allocations: 0 / 1.092 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.4238, allocations: 319 kB / 1.092 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.4239, allocations: 112.8 kB / 1.092 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.4239, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.4241, allocations: 11.98 kB / 1.092 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.4242, allocations: 11.98 kB / 1.092 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.4242, allocations: 7.984 kB / 1.092 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001662/0.4244, allocations: 170 kB / 1.093 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4244, allocations: 0 / 1.093 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002836/0.4247, allocations: 51.86 kB / 1.093 GB, free: 2.094 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.0002008/0.4249, allocations: 111.2 kB / 1.093 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005423/0.4254, allocations: 171.9 kB / 1.093 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4255, allocations: 4 kB / 1.093 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.4257, allocations: 95.88 kB / 1.093 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.4262, allocations: 42.64 kB / 1.093 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.4272, allocations: 498 kB / 1.094 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.4276, allocations: 0.7435 MB / 1.094 GB, free: 400 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001793/0.4278, allocations: 49.03 kB / 1.094 GB, free: 348 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.4279, allocations: 23.36 kB / 1.094 GB, free: 324 kB / 0.8419 GB Notification: Performance of SimCode: time 2.464e-06/0.4279, allocations: 4 kB / 1.094 GB, free: 320 kB / 0.8419 GB Notification: Performance of Templates: time 0.005966/0.4339, allocations: 2.149 MB / 1.096 GB, free: 14.2 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches