Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001309/0.001309, allocations: 116.4 kB / 17.08 MB, free: 5.977 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.001301/0.001301, allocations: 187.7 kB / 20.02 MB, free: 3.051 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.397/1.397, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.EN12975HeatLoss,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.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9207/0.9226, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002878/0.9255, allocations: 1.893 MB / 1.264 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003995/0.9296, allocations: 3.596 MB / 1.268 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.9298, allocations: 1.344 kB / 1.268 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00097/0.9308, allocations: 191.5 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.9311, allocations: 77.2 kB / 1.268 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.526e-05/0.9312, allocations: 31.86 kB / 1.268 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00049/0.9317, allocations: 258 kB / 1.268 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.9318, allocations: 30.2 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.9319, allocations: 81.08 kB / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.9321, allocations: 78.2 kB / 1.269 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.9321, allocations: 11.94 kB / 1.269 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.906e-05/0.9322, allocations: 24.78 kB / 1.269 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.9323, allocations: 59.05 kB / 1.269 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.9324, allocations: 86.41 kB / 1.269 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.9327, allocations: 195.6 kB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9327, allocations: 0.8438 kB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9327, allocations: 0 / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.9327, allocations: 0.5938 kB / 1.269 GB, free: 3.605 MB / 0.9981 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.0008066/0.9336, allocations: 0.5299 MB / 1.27 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.9336, allocations: 9.281 kB / 1.27 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.9337, allocations: 30.64 kB / 1.27 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.934, allocations: 258.5 kB / 1.27 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.934, allocations: 2.438 kB / 1.27 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.934, allocations: 8.031 kB / 1.27 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.9344, allocations: 144 kB / 1.27 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.9345, allocations: 0.6562 kB / 1.27 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.9345, allocations: 4.625 kB / 1.27 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.9345, allocations: 9.062 kB / 1.27 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.935, allocations: 142.8 kB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.9357, allocations: 460.2 kB / 1.271 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.9362, allocations: 167.9 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.9364, allocations: 101.6 kB / 1.271 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.9365, allocations: 5.969 kB / 1.271 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.9365, allocations: 32.47 kB / 1.271 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.9365, allocations: 0 / 1.271 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008793/0.9374, allocations: 309.7 kB / 1.271 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.9374, allocations: 53.19 kB / 1.271 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.9377, allocations: 243.6 kB / 1.271 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.9377, allocations: 30.55 kB / 1.271 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.9377, allocations: 132.9 kB / 1.272 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.9378, allocations: 47.14 kB / 1.272 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.9379, allocations: 31.64 kB / 1.272 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.9379, allocations: 344.1 kB / 1.272 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.9382, allocations: 72.83 kB / 1.272 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.9384, allocations: 74.22 kB / 1.272 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.9389, allocations: 167.9 kB / 1.272 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9389, allocations: 3.938 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000535/0.9394, allocations: 220 kB / 1.272 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.9395, allocations: 9.453 kB / 1.272 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9395, allocations: 1.438 kB / 1.272 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.9395, allocations: 0 / 1.272 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.9398, allocations: 38.55 kB / 1.273 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.9398, allocations: 0 / 1.273 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.94, allocations: 17.73 kB / 1.273 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.94, allocations: 9.625 kB / 1.273 GB, free: 1.234 MB / 0.9981 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 9.738e-05/0.9401, allocations: 142.4 kB / 1.273 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.9401, allocations: 23.47 kB / 1.273 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.9402, allocations: 32.91 kB / 1.273 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9402, allocations: 1.438 kB / 1.273 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9402, allocations: 1.031 kB / 1.273 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9402, allocations: 3.984 kB / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.9405, allocations: 279.2 kB / 1.273 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9405, allocations: 1.219 kB / 1.273 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.9407, allocations: 39.8 kB / 1.273 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.9407, allocations: 5.438 kB / 1.273 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.9408, allocations: 0.9375 kB / 1.273 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9408, allocations: 4 kB / 1.273 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9408, allocations: 4.531 kB / 1.273 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.9413, allocations: 324.8 kB / 1.273 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.9414, allocations: 115.5 kB / 1.273 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.9415, allocations: 1.656 kB / 1.273 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.9417, allocations: 17.39 kB / 1.274 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.9417, allocations: 6.688 kB / 1.274 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.9418, allocations: 4.703 kB / 1.274 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001575/0.9419, allocations: 181.1 kB / 1.274 GB, free: 396 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9419, allocations: 0 / 1.274 GB, free: 396 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002995/0.9422, allocations: 51.86 kB / 1.274 GB, free: 380 kB / 0.9981 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.0001554/0.9424, allocations: 104.2 kB / 1.274 GB, free: 288 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005886/0.943, allocations: 171.6 kB / 1.274 GB, free: 252 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.943, allocations: 0 / 1.274 GB, free: 252 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.9433, allocations: 99.03 kB / 1.274 GB, free: 224 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.9438, allocations: 45.92 kB / 1.274 GB, free: 212 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/0.9447, allocations: 0.4943 MB / 1.275 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.9451, allocations: 0.7456 MB / 1.275 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.9452, allocations: 22.22 kB / 1.275 GB, free: 15.2 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/0.9452, allocations: 0 / 1.275 GB, free: 15.2 MB / 1.014 GB Notification: Performance of Templates: time 0.00557/0.9508, allocations: 2.749 MB / 1.278 GB, free: 14.96 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 11.449064282001927]