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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.002476, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002343, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9129/0.9129, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09183/1.005, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.435/2.435, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3725/2.808, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_flow.[0-9,]+.|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=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.864e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003329/0.003357, allocations: 1.969 MB / 0.8209 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003888/0.007246, allocations: 3.709 MB / 0.8245 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.007361, allocations: 0 / 0.8245 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.008054, allocations: 171.1 kB / 0.8246 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.008235, allocations: 75.47 kB / 0.8247 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.008361, allocations: 51.86 kB / 0.8248 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.008809, allocations: 279 kB / 0.825 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.008923, allocations: 18.41 kB / 0.825 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.009112, allocations: 130 kB / 0.8252 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.009242, allocations: 63.8 kB / 0.8252 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.009261, allocations: 8 kB / 0.8252 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.009362, allocations: 31.88 kB / 0.8253 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.009453, allocations: 55.78 kB / 0.8253 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.009506, allocations: 43.88 kB / 0.8254 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.009735, allocations: 139.4 kB / 0.8255 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/0.009748, allocations: 0 / 0.8255 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.573e-06/0.00975, allocations: 0 / 0.8255 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.009764, allocations: 0 / 0.8255 GB, free: 11.73 MB / 0.8073 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.0007414/0.01051, allocations: 471.1 kB / 0.8259 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.01055, allocations: 8.031 kB / 0.826 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.01104, allocations: 169.9 kB / 0.8261 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.01162, allocations: 184.8 kB / 0.8263 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.01163, allocations: 8.359 kB / 0.8263 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.01165, allocations: 384 / 0.8263 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.01187, allocations: 111.1 kB / 0.8264 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.01188, allocations: 192 / 0.8264 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.0119, allocations: 16.11 kB / 0.8264 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.01194, allocations: 7.984 kB / 0.8264 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.012, allocations: 27.92 kB / 0.8265 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.01242, allocations: 245.8 kB / 0.8267 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.01256, allocations: 74.55 kB / 0.8268 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.01261, allocations: 32.84 kB / 0.8268 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.01263, allocations: 8 kB / 0.8268 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.01266, allocations: 42.42 kB / 0.8268 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.01266, allocations: 0 / 0.8268 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002303/0.01289, allocations: 97.66 kB / 0.8269 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.01293, allocations: 55.41 kB / 0.827 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01308, allocations: 228.9 kB / 0.8272 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.0131, allocations: 25.7 kB / 0.8272 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.01316, allocations: 116.5 kB / 0.8273 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.0132, allocations: 43.62 kB / 0.8274 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.01325, allocations: 25.7 kB / 0.8274 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01339, allocations: 342.8 kB / 0.8277 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.01342, allocations: 11.98 kB / 0.8277 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.01345, allocations: 20.19 kB / 0.8278 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.813e-05/0.01354, allocations: 58.38 kB / 0.8278 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01355, allocations: 0 / 0.8278 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000126/0.01367, allocations: 85.59 kB / 0.8279 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01369, allocations: 4 kB / 0.8279 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.0137, allocations: 3.984 kB / 0.8279 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.01371, allocations: 0 / 0.8279 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.01388, allocations: 51.89 kB / 0.828 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.01389, allocations: 0 / 0.828 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.01395, allocations: 15.88 kB / 0.828 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.01397, allocations: 4 kB / 0.828 GB, free: 9.012 MB / 0.8073 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 8.301e-05/0.01405, allocations: 116.7 kB / 0.8281 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.01408, allocations: 19.92 kB / 0.8281 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.01413, allocations: 29.77 kB / 0.8281 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01413, allocations: 0 / 0.8281 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01413, allocations: 0 / 0.8281 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01414, allocations: 4 kB / 0.8281 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.0143, allocations: 125.8 kB / 0.8283 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0143, allocations: 0 / 0.8283 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.01441, allocations: 43.89 kB / 0.8283 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.01446, allocations: 31.78 kB / 0.8283 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.01446, allocations: 3.938 kB / 0.8283 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01447, allocations: 4 kB / 0.8283 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01447, allocations: 0 / 0.8283 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01447, allocations: 0 / 0.8283 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.01465, allocations: 191.5 kB / 0.8285 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01467, allocations: 4 kB / 0.8285 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.01474, allocations: 11.92 kB / 0.8285 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.0148, allocations: 11.98 kB / 0.8285 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01481, allocations: 7.922 kB / 0.8286 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.329e-05/0.01487, allocations: 74.78 kB / 0.8286 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01487, allocations: 0 / 0.8286 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001488/0.01502, allocations: 43.95 kB / 0.8287 GB, free: 8.254 MB / 0.8073 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.0001236/0.01514, allocations: 84.34 kB / 0.8288 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.01529, allocations: 67.06 kB / 0.8288 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.0153, allocations: 4 kB / 0.8288 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.01536, allocations: 40.78 kB / 0.8289 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.01582, allocations: 0.5154 MB / 0.8294 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.0186, allocations: 415 kB / 0.8298 GB, free: 7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.547e-05/0.01867, allocations: 83.77 kB / 0.8298 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.01879, allocations: 29.5 kB / 0.8299 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.01894, allocations: 91.33 kB / 0.83 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of SimCode: time 8.91e-07/0.01894, allocations: 0 / 0.83 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of Templates: time 0.005143/0.02409, allocations: 2.695 MB / 0.8326 GB, free: 4.148 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.525673843920231]