Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00195/0.00195, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.002508/0.002508, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.72/2.72, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.04e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003636/0.003667, allocations: 1.869 MB / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005188/0.008855, allocations: 3.316 MB / 0.956 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.009011, allocations: 0 / 0.956 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.009312, allocations: 51.58 kB / 0.9561 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005985/0.009911, allocations: 131.2 kB / 0.9562 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.01008, allocations: 63.84 kB / 0.9563 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.01044, allocations: 183.1 kB / 0.9564 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.01056, allocations: 17.81 kB / 0.9565 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.01086, allocations: 115.6 kB / 0.9566 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.01107, allocations: 67.8 kB / 0.9566 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.0111, allocations: 8 kB / 0.9566 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.01122, allocations: 27.92 kB / 0.9567 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.425e-05/0.0113, allocations: 47.77 kB / 0.9567 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.209e-05/0.01139, allocations: 43.86 kB / 0.9568 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.01169, allocations: 171.4 kB / 0.9569 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.01169, allocations: 4 kB / 0.9569 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01169, allocations: 0 / 0.9569 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.0117, allocations: 0 / 0.9569 GB, free: 5.449 MB / 0.8575 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.0009844/0.01268, allocations: 448.9 kB / 0.9574 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.01272, allocations: 8.031 kB / 0.9574 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.01314, allocations: 68.69 kB / 0.9574 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.01364, allocations: 192.9 kB / 0.9576 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.01366, allocations: 8.359 kB / 0.9576 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.01369, allocations: 8.375 kB / 0.9576 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.0141, allocations: 130.1 kB / 0.9578 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.01411, allocations: 4.188 kB / 0.9578 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.01413, allocations: 8.125 kB / 0.9578 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.01416, allocations: 15.92 kB / 0.9578 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.01465, allocations: 139.9 kB / 0.9579 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.01544, allocations: 368.2 kB / 0.9583 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.01591, allocations: 162.3 kB / 0.9584 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.01619, allocations: 92.78 kB / 0.9585 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.01621, allocations: 4 kB / 0.9585 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.01625, allocations: 34.56 kB / 0.9585 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.01625, allocations: 4 kB / 0.9586 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0009353/0.01719, allocations: 266.5 kB / 0.9588 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.01724, allocations: 55.41 kB / 0.9589 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.01749, allocations: 225.8 kB / 0.9591 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.01752, allocations: 25.7 kB / 0.9591 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01763, allocations: 128.1 kB / 0.9592 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.01768, allocations: 39.66 kB / 0.9593 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.01775, allocations: 29.7 kB / 0.9593 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.01792, allocations: 334.8 kB / 0.9596 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.01818, allocations: 71.94 kB / 0.9597 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.01842, allocations: 79.44 kB / 0.9597 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.01893, allocations: 156.7 kB / 0.9599 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01893, allocations: 0 / 0.9599 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005799/0.01951, allocations: 213.4 kB / 0.9601 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01953, allocations: 4 kB / 0.9601 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01954, allocations: 3.938 kB / 0.9601 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.01956, allocations: 0 / 0.9601 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.01981, allocations: 39.89 kB / 0.9601 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01981, allocations: 0 / 0.9601 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.01999, allocations: 27.88 kB / 0.9602 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.02001, allocations: 4 kB / 0.9602 GB, free: 1.953 MB / 0.8575 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.0001377/0.02014, allocations: 125.8 kB / 0.9603 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.0202, allocations: 23.84 kB / 0.9603 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/0.02026, allocations: 29.77 kB / 0.9603 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.02026, allocations: 4 kB / 0.9604 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.02027, allocations: 0 / 0.9604 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.02027, allocations: 0 / 0.9604 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.02054, allocations: 185.2 kB / 0.9605 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.02055, allocations: 0 / 0.9605 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.02078, allocations: 43.84 kB / 0.9606 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.02078, allocations: 0 / 0.9606 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.0208, allocations: 7.984 kB / 0.9606 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.0208, allocations: 4 kB / 0.9606 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.02081, allocations: 4 kB / 0.9606 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.02146, allocations: 307.3 kB / 0.9609 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.02154, allocations: 39.77 kB / 0.9609 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.02158, allocations: 3.984 kB / 0.9609 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.02177, allocations: 11.98 kB / 0.9609 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.02183, allocations: 11.98 kB / 0.9609 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.02185, allocations: 7.984 kB / 0.961 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001525/0.022, allocations: 157.2 kB / 0.9611 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.022, allocations: 3.938 kB / 0.9611 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002881/0.02229, allocations: 35.95 kB / 0.9611 GB, free: 0.918 MB / 0.8575 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.0002159/0.02251, allocations: 119.1 kB / 0.9613 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005765/0.02308, allocations: 166.1 kB / 0.9614 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02309, allocations: 3.938 kB / 0.9614 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.02335, allocations: 87.88 kB / 0.9615 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.02372, allocations: 24.56 kB / 0.9615 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009059/0.02463, allocations: 394.9 kB / 0.9619 GB, free: 108 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.02478, allocations: 124.1 kB / 0.962 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.02495, allocations: 53.02 kB / 0.9621 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.02502, allocations: 24.42 kB / 0.9621 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.02502, allocations: 0 / 0.9621 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.005966/0.03099, allocations: 1.715 MB / 0.9638 GB, free: 14.21 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.157446034252644]