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.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.00162/0.00162, allocations: 112.3 kB / 17.08 MB, free: 6.012 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.001666/0.001666, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] 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 3.069/3.069, allocations: 489.3 MB / 0.7687 GB, free: 3.758 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.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 0.00193/0.00193, allocations: 67.89 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003086/1.081, allocations: 1.861 MB / 1.264 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004092/1.085, allocations: 3.55 MB / 1.268 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/1.085, allocations: 1.469 kB / 1.268 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009158/1.086, allocations: 173.2 kB / 1.268 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002309/1.086, allocations: 71 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.743e-05/1.086, allocations: 24.17 kB / 1.268 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004959/1.087, allocations: 262 kB / 1.268 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/1.087, allocations: 24.72 kB / 1.268 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/1.087, allocations: 78.92 kB / 1.268 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/1.087, allocations: 74.41 kB / 1.269 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/1.087, allocations: 11.31 kB / 1.269 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/1.088, allocations: 26.78 kB / 1.269 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/1.088, allocations: 55.06 kB / 1.269 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/1.088, allocations: 85.22 kB / 1.269 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/1.088, allocations: 191.3 kB / 1.269 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/1.088, allocations: 0 / 1.269 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.088, allocations: 0.7188 kB / 1.269 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.088, allocations: 4 kB / 1.269 GB, free: 3.656 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.0008015/1.089, allocations: 0.5231 MB / 1.269 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.089, allocations: 9.828 kB / 1.269 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/1.089, allocations: 22.17 kB / 1.269 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/1.089, allocations: 244.8 kB / 1.27 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/1.089, allocations: 6 kB / 1.27 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/1.089, allocations: 7.969 kB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/1.09, allocations: 141.7 kB / 1.27 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.09, allocations: 1.484 kB / 1.27 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/1.09, allocations: 8.781 kB / 1.27 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/1.09, allocations: 9.031 kB / 1.27 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/1.09, allocations: 136.9 kB / 1.27 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/1.091, allocations: 444.3 kB / 1.27 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/1.091, allocations: 170.4 kB / 1.271 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/1.092, allocations: 100.1 kB / 1.271 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/1.092, allocations: 1.969 kB / 1.271 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/1.092, allocations: 31.56 kB / 1.271 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/1.092, allocations: 4 kB / 1.271 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008555/1.093, allocations: 287.3 kB / 1.271 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/1.093, allocations: 53.19 kB / 1.271 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/1.093, allocations: 240.9 kB / 1.271 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/1.093, allocations: 27.34 kB / 1.271 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/1.093, allocations: 132.9 kB / 1.271 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/1.093, allocations: 43.25 kB / 1.271 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/1.093, allocations: 33.3 kB / 1.271 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.036e-05/1.093, allocations: 335.8 kB / 1.272 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/1.093, allocations: 73.64 kB / 1.272 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/1.094, allocations: 74.47 kB / 1.272 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/1.094, allocations: 151.6 kB / 1.272 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.094, allocations: 8 kB / 1.272 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000532/1.095, allocations: 215.1 kB / 1.272 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.095, allocations: 5.688 kB / 1.272 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.095, allocations: 0 / 1.272 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.095, allocations: 0.625 kB / 1.272 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/1.095, allocations: 41.66 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/1.095, allocations: 1.125 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/1.095, allocations: 16.86 kB / 1.272 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/1.095, allocations: 4.594 kB / 1.272 GB, free: 1.328 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.992e-05/1.095, allocations: 143.8 kB / 1.272 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/1.095, allocations: 22.77 kB / 1.273 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/1.095, allocations: 28.91 kB / 1.273 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.095, allocations: 5.219 kB / 1.273 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.095, allocations: 4 kB / 1.273 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.095, allocations: 1.594 kB / 1.273 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/1.096, allocations: 269.4 kB / 1.273 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.096, allocations: 4.781 kB / 1.273 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/1.096, allocations: 33.19 kB / 1.273 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.096, allocations: 1.719 kB / 1.273 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.096, allocations: 4.453 kB / 1.273 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.096, allocations: 0.6875 kB / 1.273 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.096, allocations: 0 / 1.273 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/1.097, allocations: 316.7 kB / 1.273 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/1.097, allocations: 107.1 kB / 1.273 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/1.097, allocations: 5.734 kB / 1.273 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/1.097, allocations: 16.73 kB / 1.273 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/1.097, allocations: 15.56 kB / 1.273 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/1.097, allocations: 3.219 kB / 1.273 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001443/1.097, allocations: 172.8 kB / 1.273 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.097, allocations: 0 / 1.273 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003054/1.097, allocations: 48.7 kB / 1.273 GB, free: 500 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.0001527/1.098, allocations: 100.9 kB / 1.274 GB, free: 412 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005639/1.098, allocations: 179.5 kB / 1.274 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.098, allocations: 0 / 1.274 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/1.098, allocations: 91.11 kB / 1.274 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/1.099, allocations: 48.92 kB / 1.274 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/1.1, allocations: 488.7 kB / 1.274 GB, free: 20 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/1.1, allocations: 0.7396 MB / 1.275 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/1.1, allocations: 20.53 kB / 1.275 GB, free: 15.32 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/1.1, allocations: 0.5938 kB / 1.275 GB, free: 15.32 MB / 1.014 GB Notification: Performance of Templates: time 0.005679/1.106, allocations: 2.591 MB / 1.278 GB, free: 15.09 MB / 1.014 GB " [Timeout remaining time 299] 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_2/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: 11.774547775974497]