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.001925/0.001925, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.00246/0.00246, allocations: 211 kB / 23 MB, free: 4.969 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.128/3.128, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.002053/0.002053, allocations: 73.06 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3191, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003239/0.3223, allocations: 1.844 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004474/0.3268, allocations: 3.456 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.3269, allocations: 11.88 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007715/0.3277, allocations: 183.1 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.3279, allocations: 83.45 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.328, allocations: 47.94 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000485/0.3285, allocations: 287 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.3286, allocations: 21.72 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3287, allocations: 79.7 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.3288, allocations: 83.61 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.3289, allocations: 12 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.329, allocations: 31.92 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.329, allocations: 55.81 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.3291, allocations: 75.53 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.3294, allocations: 195 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3294, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3294, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.3294, allocations: 0 / 1.333 GB, free: 10.47 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009069/0.3303, allocations: 492.6 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3303, allocations: 12.03 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.3308, allocations: 60.69 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.3312, allocations: 202.6 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.3312, allocations: 384 / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3312, allocations: 8.375 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.3316, allocations: 149.7 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3316, allocations: 0 / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3316, allocations: 0 / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.3317, allocations: 11.94 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.3321, allocations: 147.9 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.3328, allocations: 376.2 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000438/0.3333, allocations: 170.4 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.3335, allocations: 104.8 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3336, allocations: 3.984 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3336, allocations: 34.56 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.3336, allocations: 0 / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008797/0.3345, allocations: 297.6 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3345, allocations: 51.41 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.3348, allocations: 252.2 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3348, allocations: 29.64 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3349, allocations: 144.1 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.3349, allocations: 39.64 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.335, allocations: 33.7 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3351, allocations: 342.7 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.3354, allocations: 83.88 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.3356, allocations: 71.94 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.3361, allocations: 164.7 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3361, allocations: 0 / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005787/0.3367, allocations: 222.9 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3367, allocations: 4 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3367, allocations: 0 / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3367, allocations: 4 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.337, allocations: 43.89 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.337, allocations: 0 / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.3371, allocations: 19.92 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.3372, allocations: 4 kB / 1.337 GB, free: 6.789 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 (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.0001287/0.3373, allocations: 138.3 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.3373, allocations: 27.84 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.3374, allocations: 25.81 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3374, allocations: 3.984 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3374, allocations: 4 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.3375, allocations: 39.8 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.3375, allocations: 0 / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3378, allocations: 19.92 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.3378, allocations: 11.97 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007267/0.3385, allocations: 304.8 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006408/0.3392, allocations: 387.4 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002544/0.3394, allocations: 89.67 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000165/0.3396, allocations: 183.1 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of Backend: time 3.11e-07/0.3396, allocations: 4 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006564/0.3403, allocations: 184.4 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of SimCode: time 0.001051/0.3413, allocations: 0.9061 MB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of Templates: time 0.007633/0.3489, allocations: 3.76 MB / 1.343 GB, free: 0.7266 MB / 1.029 GB " [Timeout remaining time 300] 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: 8.521291769000527]