Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001395/0.001395, allocations: 109 kB / 16.45 MB, free: 6.488 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.001603/0.001603, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.253/3.253, allocations: 0.4899 GB / 0.7915 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [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.00213/0.00213, allocations: 71.95 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3945, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003782/0.3983, allocations: 2.214 MB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006307/0.4046, allocations: 4.223 MB / 1.328 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.4048, allocations: 7.938 kB / 1.328 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000863/0.4056, allocations: 183 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.4058, allocations: 83.33 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.4066, allocations: 323.2 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006745/0.4073, allocations: 450.6 kB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4074, allocations: 48.7 kB / 1.329 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.4076, allocations: 139.5 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.4079, allocations: 163.3 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.4079, allocations: 24 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005426/0.4085, allocations: 331.5 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.4086, allocations: 115.6 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.4088, allocations: 171 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008338/0.4096, allocations: 0.5914 MB / 1.33 GB, free: 9.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4096, allocations: 3.938 kB / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4096, allocations: 0 / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.4096, allocations: 0 / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001827/0.4114, allocations: 0.8184 MB / 1.331 GB, free: 8.871 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4115, allocations: 11.98 kB / 1.331 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.4129, allocations: 244.3 kB / 1.331 GB, free: 8.621 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.414, allocations: 414.5 kB / 1.332 GB, free: 8.184 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.414, allocations: 12.55 kB / 1.332 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.414, allocations: 11.94 kB / 1.332 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000772/0.4148, allocations: 249.4 kB / 1.332 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4148, allocations: 0 / 1.332 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.4148, allocations: 8 kB / 1.332 GB, free: 7.902 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4148, allocations: 0 / 1.332 GB, free: 7.902 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.416, allocations: 335.6 kB / 1.332 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.4176, allocations: 0.6877 MB / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.4183, allocations: 214.4 kB / 1.333 GB, free: 6.617 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.4188, allocations: 176.7 kB / 1.333 GB, free: 6.441 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.968e-05/0.4189, allocations: 19.98 kB / 1.333 GB, free: 6.422 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.4189, allocations: 34.56 kB / 1.333 GB, free: 6.379 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4189, allocations: 4 kB / 1.333 GB, free: 6.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.002074/0.421, allocations: 0.5683 MB / 1.334 GB, free: 5.801 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.4211, allocations: 55.41 kB / 1.334 GB, free: 5.734 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.4216, allocations: 449.8 kB / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.4216, allocations: 25.7 kB / 1.334 GB, free: 5.254 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.4218, allocations: 196.5 kB / 1.334 GB, free: 5.059 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.4218, allocations: 55.58 kB / 1.334 GB, free: 5.004 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.422, allocations: 45.69 kB / 1.335 GB, free: 4.953 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4221, allocations: 354.7 kB / 1.335 GB, free: 4.598 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.4228, allocations: 300 kB / 1.335 GB, free: 4.305 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006999/0.4235, allocations: 298.9 kB / 1.335 GB, free: 4.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.4249, allocations: 0.5111 MB / 1.336 GB, free: 3.496 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4249, allocations: 0 / 1.336 GB, free: 3.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001635/0.4266, allocations: 0.7102 MB / 1.337 GB, free: 2.773 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.4266, allocations: 45.69 kB / 1.337 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4266, allocations: 0 / 1.337 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.4266, allocations: 4 kB / 1.337 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.4271, allocations: 67.91 kB / 1.337 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4271, allocations: 3.984 kB / 1.337 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.4275, allocations: 59.67 kB / 1.337 GB, free: 2.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.4275, allocations: 11.98 kB / 1.337 GB, free: 2.578 MB / 1.029 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002/0.4277, allocations: 153.8 kB / 1.337 GB, free: 2.418 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.4278, allocations: 47.72 kB / 1.337 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.4292, allocations: 442.6 kB / 1.337 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4292, allocations: 4 kB / 1.337 GB, free: 1.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4292, allocations: 0 / 1.337 GB, free: 1.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.4292, allocations: 3.938 kB / 1.337 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.4297, allocations: 377.3 kB / 1.338 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4297, allocations: 0 / 1.338 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.4301, allocations: 59.92 kB / 1.338 GB, free: 1.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4302, allocations: 3.984 kB / 1.338 GB, free: 1.445 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.4302, allocations: 8 kB / 1.338 GB, free: 1.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.4302, allocations: 4 kB / 1.338 GB, free: 1.434 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4302, allocations: 0 / 1.338 GB, free: 1.434 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.4315, allocations: 0.495 MB / 1.338 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.4317, allocations: 136.8 kB / 1.338 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.4317, allocations: 4 kB / 1.338 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.4321, allocations: 35.95 kB / 1.339 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.4322, allocations: 23.97 kB / 1.339 GB, free: 0.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.4322, allocations: 15.86 kB / 1.339 GB, free: 0.6914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003823/0.4326, allocations: 311.1 kB / 1.339 GB, free: 396 kB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4326, allocations: 0 / 1.339 GB, free: 396 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005679/0.4332, allocations: 131.8 kB / 1.339 GB, free: 264 kB / 1.029 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.0003974/0.4336, allocations: 186.9 kB / 1.339 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.4351, allocations: 0.626 MB / 1.34 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4351, allocations: 0 / 1.34 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.4357, allocations: 187.8 kB / 1.34 GB, free: 15.24 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.4362, allocations: 52 kB / 1.34 GB, free: 15.2 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.4378, allocations: 0.7176 MB / 1.341 GB, free: 14.45 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.4383, allocations: 0.8026 MB / 1.341 GB, free: 13.62 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002409/0.4385, allocations: 61.91 kB / 1.342 GB, free: 13.56 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.4386, allocations: 27.41 kB / 1.342 GB, free: 13.54 MB / 1.045 GB Notification: Performance of SimCode: time 7.22e-07/0.4386, allocations: 0 / 1.342 GB, free: 13.54 MB / 1.045 GB Notification: Performance of Templates: time 0.01169/0.4503, allocations: 5.541 MB / 1.347 GB, free: 8.043 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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: 9.427922531031072]