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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.1.|heaLos.QLos.2.|heaLos.QLos.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.1.|heaLos.QLos.2.|heaLos.QLos.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.001408/0.001408, allocations: 110.6 kB / 16.41 MB, free: 6.496 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.001456/0.001456, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.639/2.639, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7773, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002778/0.7801, allocations: 1.911 MB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003532/0.7836, allocations: 3.454 MB / 1.214 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.7837, allocations: 4 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.784, allocations: 55.61 kB / 1.214 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.7844, allocations: 119.3 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.922e-05/0.7845, allocations: 27.95 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.7847, allocations: 175.2 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.7848, allocations: 29.67 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.785, allocations: 79.69 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.7851, allocations: 79.61 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.7852, allocations: 8 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.7853, allocations: 35.92 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.7853, allocations: 35.84 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.7854, allocations: 79.48 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.7856, allocations: 161.2 kB / 1.215 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.7856, allocations: 4 kB / 1.215 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7856, allocations: 0 / 1.215 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.7856, allocations: 4 kB / 1.215 GB, free: 7.363 MB / 0.9356 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.0007757/0.7864, allocations: 0.4926 MB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.7865, allocations: 8.031 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.7865, allocations: 24.64 kB / 1.215 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.7868, allocations: 238.8 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.7869, allocations: 16.36 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.7869, allocations: 4.375 kB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.7872, allocations: 135.9 kB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.7872, allocations: 0 / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.7873, allocations: 4 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.7873, allocations: 11.98 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.7877, allocations: 131.9 kB / 1.216 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006514/0.7883, allocations: 444.4 kB / 1.216 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.7887, allocations: 170.5 kB / 1.216 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.789, allocations: 100.8 kB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.789, allocations: 4 kB / 1.216 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.789, allocations: 34.5 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.789, allocations: 4 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0007532/0.7898, allocations: 281.3 kB / 1.217 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.7898, allocations: 55.41 kB / 1.217 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.79, allocations: 209 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.79, allocations: 29.7 kB / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.7901, allocations: 120.1 kB / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.7902, allocations: 43.34 kB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.7902, allocations: 33.7 kB / 1.217 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7904, allocations: 334.8 kB / 1.217 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.7906, allocations: 72.19 kB / 1.217 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.7908, allocations: 75.94 kB / 1.217 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.7912, allocations: 155.4 kB / 1.218 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7912, allocations: 8 kB / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004738/0.7917, allocations: 197.4 kB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.7917, allocations: 4 kB / 1.218 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7917, allocations: 3.984 kB / 1.218 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7918, allocations: 0 / 1.218 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.792, allocations: 43.95 kB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.792, allocations: 4 kB / 1.218 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.7922, allocations: 23.83 kB / 1.218 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.7922, allocations: 4 kB / 1.218 GB, free: 3.688 MB / 0.9356 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.0001035/0.7923, allocations: 133.7 kB / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.7923, allocations: 19.81 kB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.7924, allocations: 25.83 kB / 1.218 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7924, allocations: 4 kB / 1.218 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7924, allocations: 4 kB / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7924, allocations: 0 / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.7927, allocations: 253.4 kB / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7927, allocations: 0 / 1.218 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.7929, allocations: 35.95 kB / 1.218 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7929, allocations: 0 / 1.218 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.793, allocations: 4 kB / 1.218 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.793, allocations: 0 / 1.218 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.793, allocations: 3.938 kB / 1.218 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.7935, allocations: 311.2 kB / 1.219 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.7936, allocations: 116.8 kB / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.7936, allocations: 4 kB / 1.219 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.7938, allocations: 15.98 kB / 1.219 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.7939, allocations: 11.98 kB / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.7939, allocations: 7.984 kB / 1.219 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001147/0.794, allocations: 148.5 kB / 1.219 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.794, allocations: 0 / 1.219 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002713/0.7943, allocations: 43.84 kB / 1.219 GB, free: 2.477 MB / 0.9356 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.0001466/0.7944, allocations: 115.2 kB / 1.219 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.7949, allocations: 163.9 kB / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.795, allocations: 0 / 1.219 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.7952, allocations: 99.36 kB / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.7956, allocations: 28.59 kB / 1.219 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.7963, allocations: 431.8 kB / 1.22 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.7966, allocations: 0.7275 MB / 1.22 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.7967, allocations: 23.42 kB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.7967, allocations: 0 / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of Templates: time 0.004009/0.8007, allocations: 2.23 MB / 1.223 GB, free: 14.62 MB / 0.9512 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=480 -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/jenkins1/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