Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001419/0.001419, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001863/0.001863, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.895/2.895, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [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.00198/0.00198, allocations: 63.91 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.142, allocations: 176.1 MB / 1.322 GB, free: 25.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002871/1.144, allocations: 1.908 MB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003861/1.148, allocations: 3.732 MB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/1.149, allocations: 6.656 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008474/1.149, allocations: 185.8 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002109/1.15, allocations: 82.92 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/1.15, allocations: 46.3 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006455/1.15, allocations: 278.4 kB / 1.328 GB, free: 20.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/1.15, allocations: 21.86 kB / 1.328 GB, free: 20.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/1.151, allocations: 92.91 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/1.151, allocations: 81.69 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/1.151, allocations: 7.688 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.812e-05/1.151, allocations: 29 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/1.151, allocations: 64.48 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/1.151, allocations: 86.27 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/1.151, allocations: 209.3 kB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.151, allocations: 0.9688 kB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/1.151, allocations: 0 / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.151, allocations: 4 kB / 1.329 GB, free: 20.71 MB / 1.061 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.000825/1.152, allocations: 0.5441 MB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.152, allocations: 9.688 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/1.153, allocations: 58.23 kB / 1.329 GB, free: 20.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/1.153, allocations: 265.6 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/1.153, allocations: 5.719 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/1.153, allocations: 3.625 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/1.153, allocations: 146.7 kB / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/1.153, allocations: 0 / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/1.153, allocations: 0 / 1.33 GB, free: 19.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/1.154, allocations: 23.53 kB / 1.33 GB, free: 19.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/1.154, allocations: 138.4 kB / 1.33 GB, free: 19.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/1.155, allocations: 464.3 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/1.155, allocations: 159.4 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/1.155, allocations: 102 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/1.155, allocations: 5.688 kB / 1.33 GB, free: 19.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/1.155, allocations: 35.92 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/1.155, allocations: 0 / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0009707/1.156, allocations: 304.3 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/1.156, allocations: 54.5 kB / 1.331 GB, free: 19.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/1.157, allocations: 253.7 kB / 1.331 GB, free: 19.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/1.157, allocations: 29.7 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/1.157, allocations: 132.8 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/1.157, allocations: 49.7 kB / 1.331 GB, free: 18.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/1.157, allocations: 27.55 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/1.157, allocations: 345.3 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/1.157, allocations: 72.14 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/1.158, allocations: 73.53 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/1.158, allocations: 167.6 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.158, allocations: 1 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005708/1.159, allocations: 223.7 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.159, allocations: 8.312 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.159, allocations: 7.938 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.159, allocations: 1.75 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/1.159, allocations: 36.41 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/1.159, allocations: 5.203 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/1.159, allocations: 13.27 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/1.159, allocations: 4.188 kB / 1.332 GB, free: 18.33 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.000116/1.159, allocations: 149.6 kB / 1.332 GB, free: 18.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/1.159, allocations: 26.89 kB / 1.332 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.628e-05/1.159, allocations: 32.55 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.159, allocations: 1.688 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.159, allocations: 1.125 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.159, allocations: 0.75 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/1.16, allocations: 285.4 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.16, allocations: 0.5156 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/1.16, allocations: 32.45 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.16, allocations: 5.797 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/1.16, allocations: 6.516 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.16, allocations: 0.9375 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.16, allocations: 4.453 kB / 1.333 GB, free: 17.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/1.161, allocations: 322.7 kB / 1.333 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.845e-05/1.161, allocations: 114.5 kB / 1.333 GB, free: 17.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/1.161, allocations: 5.969 kB / 1.333 GB, free: 17.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.161, allocations: 11.75 kB / 1.333 GB, free: 17.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/1.161, allocations: 13.45 kB / 1.333 GB, free: 17.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/1.161, allocations: 4.656 kB / 1.333 GB, free: 17.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001695/1.161, allocations: 185.2 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.161, allocations: 0 / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003019/1.161, allocations: 47.72 kB / 1.333 GB, free: 17.47 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.0001797/1.162, allocations: 104.8 kB / 1.334 GB, free: 17.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005852/1.162, allocations: 173.8 kB / 1.334 GB, free: 17.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.162, allocations: 0 / 1.334 GB, free: 17.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/1.162, allocations: 96.89 kB / 1.334 GB, free: 17.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/1.163, allocations: 52.56 kB / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/1.164, allocations: 0.5009 MB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/1.164, allocations: 0.7472 MB / 1.335 GB, free: 16.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/1.164, allocations: 25.67 kB / 1.335 GB, free: 16.27 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.164, allocations: 0 / 1.335 GB, free: 16.27 MB / 1.061 GB Notification: Performance of Templates: time 0.006865/1.171, allocations: 2.838 MB / 1.338 GB, free: 16.02 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.051325462001842]