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.001784/0.001784, allocations: 80.59 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001909/0.001909, allocations: 165.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.936/2.936, allocations: 389 MB / 0.633 GB, free: 0.9531 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.484e-05, allocations: 5.516 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003764/0.003799, allocations: 1.846 MB / 1.002 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005533/0.009332, allocations: 3.394 MB / 1.005 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.009507, allocations: 0 / 1.005 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009167/0.01042, allocations: 171.1 kB / 1.005 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.01071, allocations: 83.41 kB / 1.005 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.01087, allocations: 55.86 kB / 1.006 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007586/0.01163, allocations: 271.1 kB / 1.006 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.01174, allocations: 25.8 kB / 1.006 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.01196, allocations: 107.6 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.01213, allocations: 51.89 kB / 1.006 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.01217, allocations: 12 kB / 1.006 GB, free: 1.219 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.0123, allocations: 35.91 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.01239, allocations: 55.83 kB / 1.006 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.01248, allocations: 51.84 kB / 1.006 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.01293, allocations: 195.2 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01294, allocations: 0 / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.903e-06/0.01294, allocations: 0 / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.01295, allocations: 0 / 1.006 GB, free: 0.8867 MB / 0.9512 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.001032/0.01398, allocations: 472.8 kB / 1.007 GB, free: 404 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.01403, allocations: 8.031 kB / 1.007 GB, free: 396 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.01539, allocations: 120.7 kB / 1.007 GB, free: 276 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/0.01597, allocations: 200.8 kB / 1.007 GB, free: 52 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.01599, allocations: 12.25 kB / 1.007 GB, free: 40 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.01602, allocations: 8.359 kB / 1.007 GB, free: 32 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.01646, allocations: 152.5 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.01647, allocations: 192 / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.01649, allocations: 4.125 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.01652, allocations: 15.91 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.01702, allocations: 151.9 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.01805, allocations: 384.2 kB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.01855, allocations: 174.4 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.01884, allocations: 100.8 kB / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.01886, allocations: 0 / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.0189, allocations: 34.56 kB / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.0189, allocations: 0 / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.001048/0.01995, allocations: 314.5 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.02001, allocations: 55.41 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.02035, allocations: 241.9 kB / 1.009 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.02039, allocations: 29.7 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.02056, allocations: 132.1 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.02063, allocations: 47.59 kB / 1.009 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.02074, allocations: 33.7 kB / 1.009 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.02097, allocations: 334.8 kB / 1.009 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.02134, allocations: 79.92 kB / 1.009 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.02171, allocations: 75.94 kB / 1.009 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/0.02232, allocations: 170.7 kB / 1.01 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.02232, allocations: 11.94 kB / 1.01 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000688/0.02301, allocations: 233.3 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.02304, allocations: 8 kB / 1.01 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.02304, allocations: 4 kB / 1.01 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.02307, allocations: 0 / 1.01 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.02337, allocations: 31.97 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.02339, allocations: 0 / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.02359, allocations: 27.92 kB / 1.01 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.02361, allocations: 0 / 1.01 GB, free: 13.13 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.0002086/0.02382, allocations: 142.3 kB / 1.01 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.02389, allocations: 23.8 kB / 1.01 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.02397, allocations: 33.77 kB / 1.01 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.02397, allocations: 4 kB / 1.01 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.02398, allocations: 0 / 1.01 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.02399, allocations: 3.984 kB / 1.01 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.02434, allocations: 201.2 kB / 1.01 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.02435, allocations: 0 / 1.01 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.02461, allocations: 39.89 kB / 1.01 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.02461, allocations: 3.938 kB / 1.01 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.02464, allocations: 4 kB / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.02464, allocations: 4 kB / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02464, allocations: 0 / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008754/0.02551, allocations: 337.9 kB / 1.011 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.02562, allocations: 43.75 kB / 1.011 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.02566, allocations: 0 / 1.011 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.02588, allocations: 19.98 kB / 1.011 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.351e-05/0.02598, allocations: 7.984 kB / 1.011 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.026, allocations: 7.984 kB / 1.011 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002239/0.02622, allocations: 181.2 kB / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.02622, allocations: 0 / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003042/0.02653, allocations: 36 kB / 1.011 GB, free: 12.01 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.0002136/0.02674, allocations: 95.25 kB / 1.011 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.02738, allocations: 183.8 kB / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.02738, allocations: 3.938 kB / 1.011 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.02768, allocations: 95.86 kB / 1.011 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.02817, allocations: 44.47 kB / 1.011 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.02934, allocations: 443.1 kB / 1.012 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.02954, allocations: 136.1 kB / 1.012 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.02977, allocations: 57.45 kB / 1.012 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.02986, allocations: 24.42 kB / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of SimCode: time 8.91e-07/0.02986, allocations: 0 / 1.012 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of Templates: time 0.008145/0.03801, allocations: 2.454 MB / 1.014 GB, free: 8.496 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.335371136665344]