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.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.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.0009753/0.0009753, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001087/0.001087, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.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.648/2.648, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003102, allocations: 12 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5755, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001923/0.5774, allocations: 1.574 MB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003346/0.5808, allocations: 3.234 MB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.5809, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.5811, allocations: 39.75 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.5815, allocations: 115.4 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.509e-05/0.5815, allocations: 19.97 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.5817, allocations: 163.2 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.5818, allocations: 21.69 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.582, allocations: 71.69 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.5821, allocations: 71.67 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.5821, allocations: 11.94 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.752e-05/0.5822, allocations: 23.98 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.5823, allocations: 35.84 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.5823, allocations: 49.64 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.5825, allocations: 103.7 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5825, allocations: 4 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5825, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.5825, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 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.0008094/0.5833, allocations: 498.4 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.5834, allocations: 8.562 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.5834, allocations: 23.72 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.5837, allocations: 237.7 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.5838, allocations: 3.953 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5838, allocations: 8 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.5841, allocations: 139.2 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5841, allocations: 0 / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.5842, allocations: 11.92 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.5842, allocations: 15.98 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.5846, allocations: 151.9 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.5852, allocations: 444.6 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.5856, allocations: 174.4 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.5859, allocations: 116.8 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.5859, allocations: 4 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.5859, allocations: 30.56 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.5859, allocations: 0 / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0007726/0.5867, allocations: 305.1 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.5868, allocations: 51.41 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.5869, allocations: 209 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.587, allocations: 25.7 kB / 1.03 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.587, allocations: 139.9 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.5871, allocations: 47.31 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.5871, allocations: 4 kB / 1.03 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5872, allocations: 334.8 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.5874, allocations: 71.94 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.5876, allocations: 84.19 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.5879, allocations: 91.94 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5879, allocations: 0 / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004926/0.5884, allocations: 217.4 kB / 1.031 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5884, allocations: 4 kB / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5884, allocations: 0 / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.5884, allocations: 0 / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.5887, allocations: 39.91 kB / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5887, allocations: 0 / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.5888, allocations: 27.97 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.5889, allocations: 4 kB / 1.031 GB, free: 6.84 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.589, allocations: 125.8 kB / 1.031 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.589, allocations: 23.7 kB / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.5891, allocations: 29.78 kB / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5891, allocations: 0 / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.5891, allocations: 0 / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5891, allocations: 3.984 kB / 1.031 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.5894, allocations: 265.4 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5894, allocations: 4 kB / 1.032 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.5896, allocations: 47.89 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5896, allocations: 0 / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.5896, allocations: 0 / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5896, allocations: 0 / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5896, allocations: 0 / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.5902, allocations: 335.1 kB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.5903, allocations: 108.9 kB / 1.032 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.5903, allocations: 0 / 1.032 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.5905, allocations: 19.98 kB / 1.032 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.5906, allocations: 7.984 kB / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.5906, allocations: 11.98 kB / 1.032 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001177/0.5907, allocations: 148.5 kB / 1.032 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5907, allocations: 4 kB / 1.032 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002771/0.591, allocations: 35.94 kB / 1.032 GB, free: 5.605 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001389/0.5911, allocations: 111.2 kB / 1.032 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.5916, allocations: 187.5 kB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.5916, allocations: 0 / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.5919, allocations: 103.9 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.5923, allocations: 34.27 kB / 1.033 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.593, allocations: 483.4 kB / 1.033 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.5932, allocations: 0.7277 MB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.5934, allocations: 48.59 kB / 1.034 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.5935, allocations: 15.42 kB / 1.034 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.5935, allocations: 4 kB / 1.034 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of Templates: time 0.004024/0.5975, allocations: 1.479 MB / 1.035 GB, free: 2.391 MB / 0.7794 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=480 -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/jenkins/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