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.001484/0.001484, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001678/0.001678, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.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.999/2.999, allocations: 0.505 GB / 0.8108 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 70.45 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3052, allocations: 180.2 MB / 1.354 GB, free: 8.016 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003073/0.3083, allocations: 1.921 MB / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00425/0.3126, allocations: 3.686 MB / 1.36 GB, free: 2.387 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.3126, allocations: 0 / 1.36 GB, free: 2.387 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.3133, allocations: 183.2 kB / 1.36 GB, free: 2.207 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.3135, allocations: 79.47 kB / 1.36 GB, free: 2.129 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.3136, allocations: 51.91 kB / 1.36 GB, free: 2.078 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.314, allocations: 263.2 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.3141, allocations: 29.7 kB / 1.36 GB, free: 1.789 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3142, allocations: 75.7 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.3144, allocations: 79.56 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3144, allocations: 8 kB / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.3145, allocations: 39.97 kB / 1.36 GB, free: 1.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.3145, allocations: 55.81 kB / 1.36 GB, free: 1.535 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.3146, allocations: 79.48 kB / 1.36 GB, free: 1.457 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.3149, allocations: 203 kB / 1.361 GB, free: 1.258 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3149, allocations: 0 / 1.361 GB, free: 1.258 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3149, allocations: 3.938 kB / 1.361 GB, free: 1.254 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3149, allocations: 0 / 1.361 GB, free: 1.254 MB / 1.045 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.0007866/0.3157, allocations: 480.7 kB / 1.361 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3157, allocations: 12.03 kB / 1.361 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/0.3165, allocations: 120.6 kB / 1.361 GB, free: 0.625 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.317, allocations: 197.5 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.317, allocations: 8.375 kB / 1.361 GB, free: 404 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.3171, allocations: 16.33 kB / 1.361 GB, free: 388 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.3174, allocations: 151.2 kB / 1.362 GB, free: 232 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.3174, allocations: 0 / 1.362 GB, free: 232 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3174, allocations: 4 kB / 1.362 GB, free: 228 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.3175, allocations: 11.98 kB / 1.362 GB, free: 216 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.3179, allocations: 147.9 kB / 1.362 GB, free: 68 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.3186, allocations: 443.5 kB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.319, allocations: 162.5 kB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.3193, allocations: 100.8 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3193, allocations: 4 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3193, allocations: 38.55 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3193, allocations: 3.938 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008172/0.3201, allocations: 316.7 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3202, allocations: 51.41 kB / 1.363 GB, free: 14.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.3204, allocations: 245.9 kB / 1.363 GB, free: 14.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.3204, allocations: 29.7 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.3205, allocations: 128.1 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.3206, allocations: 43.64 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.3206, allocations: 33.7 kB / 1.363 GB, free: 14.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3208, allocations: 334.8 kB / 1.364 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.321, allocations: 83.92 kB / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3212, allocations: 75.94 kB / 1.364 GB, free: 13.9 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/0.3216, allocations: 172.7 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3216, allocations: 3.938 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005253/0.3222, allocations: 235.5 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3222, allocations: 4 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3222, allocations: 0 / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3222, allocations: 4 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.3225, allocations: 31.97 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3225, allocations: 4 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.3226, allocations: 23.91 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3227, allocations: 4 kB / 1.364 GB, free: 13.42 MB / 1.061 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.0001278/0.3228, allocations: 149.6 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.3228, allocations: 27.86 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.197e-05/0.3229, allocations: 25.77 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3229, allocations: 7.938 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3229, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3229, allocations: 3.984 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.3232, allocations: 248.5 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3232, allocations: 0 / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.3234, allocations: 35.97 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3234, allocations: 3.984 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3235, allocations: 8 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3235, allocations: 4 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3235, allocations: 3.938 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.324, allocations: 331.1 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.3241, allocations: 39.78 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.3242, allocations: 7.984 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3244, allocations: 15.98 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.3244, allocations: 7.984 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3244, allocations: 3.984 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001572/0.3246, allocations: 181.2 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3246, allocations: 4 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002623/0.3248, allocations: 39.94 kB / 1.365 GB, free: 12.22 MB / 1.061 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.0001078/0.325, allocations: 99.23 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005054/0.3255, allocations: 178 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3255, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.3257, allocations: 99.86 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3261, allocations: 42.14 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/0.3269, allocations: 0.4975 MB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3273, allocations: 0.7396 MB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.3274, allocations: 19.42 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3274, allocations: 8 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of Templates: time 0.004594/0.3319, allocations: 2.786 MB / 1.37 GB, free: 7.719 MB / 1.061 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/jenkins1/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: 10.508504873985657]