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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 119.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 443.5 MB / 0.7293 GB, free: 14.63 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 71.89 kB / 1.057 GB, free: 2.023 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.361, allocations: 160.7 MB / 1.214 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003498/0.3645, allocations: 1.923 MB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004752/0.3693, allocations: 3.471 MB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.3694, allocations: 7.938 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.3697, allocations: 47.69 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.3702, allocations: 131.3 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.517e-05/0.3703, allocations: 23.89 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.3706, allocations: 171.2 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3707, allocations: 21.67 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.371, allocations: 79.62 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.3711, allocations: 87.61 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.3712, allocations: 12 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3713, allocations: 31.92 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.777e-05/0.3714, allocations: 35.84 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3715, allocations: 75.53 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.3717, allocations: 167.2 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3717, allocations: 3.938 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3717, allocations: 0 / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3717, allocations: 0 / 1.22 GB, free: 10.69 MB / 0.9669 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.001026/0.3728, allocations: 0.5022 MB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3728, allocations: 12.02 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.3729, allocations: 20.8 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.3733, allocations: 243 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.3733, allocations: 4.312 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3733, allocations: 8.375 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.3737, allocations: 143.8 kB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3737, allocations: 0 / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3737, allocations: 0 / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.3737, allocations: 15.98 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.3742, allocations: 135.8 kB / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.375, allocations: 440.6 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.3754, allocations: 162.4 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.3757, allocations: 96.78 kB / 1.222 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3757, allocations: 11.92 kB / 1.222 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.3757, allocations: 30.56 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3757, allocations: 0 / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0009126/0.3767, allocations: 281.7 kB / 1.222 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3767, allocations: 59.34 kB / 1.222 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.3769, allocations: 205 kB / 1.222 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.377, allocations: 33.7 kB / 1.222 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/0.3771, allocations: 124 kB / 1.223 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.3771, allocations: 43.64 kB / 1.223 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.3772, allocations: 29.7 kB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3774, allocations: 334.8 kB / 1.223 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3776, allocations: 67.94 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.3778, allocations: 79.69 kB / 1.223 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.3783, allocations: 148.8 kB / 1.223 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3783, allocations: 4 kB / 1.223 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005634/0.3789, allocations: 209.5 kB / 1.223 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3789, allocations: 4 kB / 1.223 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3789, allocations: 3.938 kB / 1.223 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3789, allocations: 0 / 1.223 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.3791, allocations: 35.95 kB / 1.224 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3792, allocations: 8 kB / 1.224 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.3793, allocations: 19.94 kB / 1.224 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.3793, allocations: 8 kB / 1.224 GB, free: 7.008 MB / 0.9669 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.0001391/0.3795, allocations: 133.8 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.3795, allocations: 19.86 kB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.3796, allocations: 25.83 kB / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3796, allocations: 0 / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3796, allocations: 8 kB / 1.224 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3796, allocations: 0 / 1.224 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.38, allocations: 257.4 kB / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.38, allocations: 7.922 kB / 1.224 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3802, allocations: 31.97 kB / 1.224 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3802, allocations: 3.938 kB / 1.224 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3802, allocations: 4 kB / 1.224 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3802, allocations: 0 / 1.224 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3802, allocations: 0 / 1.224 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.3809, allocations: 319.1 kB / 1.224 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.381, allocations: 105 kB / 1.224 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.381, allocations: 4 kB / 1.224 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.3812, allocations: 19.92 kB / 1.224 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.3813, allocations: 15.98 kB / 1.224 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3813, allocations: 7.984 kB / 1.224 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001553/0.3814, allocations: 148.5 kB / 1.225 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3814, allocations: 0 / 1.225 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003002/0.3817, allocations: 47.83 kB / 1.225 GB, free: 5.777 MB / 0.9669 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.0002284/0.382, allocations: 103.2 kB / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005967/0.3826, allocations: 171.5 kB / 1.225 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3826, allocations: 0 / 1.225 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.3828, allocations: 79.94 kB / 1.225 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.3833, allocations: 28.66 kB / 1.225 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3844, allocations: 451.4 kB / 1.225 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.3849, allocations: 0.7313 MB / 1.226 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.385, allocations: 23.42 kB / 1.226 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.385, allocations: 0 / 1.226 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of Templates: time 0.005194/0.3902, allocations: 2.237 MB / 1.228 GB, free: 1.918 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (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) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.965365648968145]