Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001687/0.001687, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.001415/0.001415, allocations: 207.9 kB / 23 MB, free: 4.965 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.114/3.114, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [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.002038/0.002038, allocations: 63.34 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3013, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003489/0.3048, allocations: 1.837 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005029/0.3098, allocations: 3.405 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.3099, allocations: 4 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.3107, allocations: 167.2 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.3109, allocations: 79.53 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.3111, allocations: 51.92 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.3116, allocations: 267.1 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3117, allocations: 25.66 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3118, allocations: 75.75 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.312, allocations: 79.62 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.3121, allocations: 8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.3122, allocations: 35.91 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3123, allocations: 51.83 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.3124, allocations: 71.55 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.3127, allocations: 199 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3128, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3128, allocations: 3.938 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3128, allocations: 0 / 1.333 GB, free: 10.6 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.001045/0.3138, allocations: 472.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.3139, allocations: 8.031 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.3143, allocations: 72.69 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.3148, allocations: 193.5 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3148, allocations: 12.38 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.3149, allocations: 8.359 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.3152, allocations: 137.7 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3152, allocations: 0 / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3153, allocations: 0 / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.3153, allocations: 11.98 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.3157, allocations: 135.8 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.3164, allocations: 372.2 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.3169, allocations: 158.5 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.3171, allocations: 88.8 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3172, allocations: 0 / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3172, allocations: 42.5 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.3172, allocations: 0 / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008634/0.3181, allocations: 285.6 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.3181, allocations: 55.34 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.3183, allocations: 245.9 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3184, allocations: 25.7 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3185, allocations: 140.1 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.3185, allocations: 39.64 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.3186, allocations: 33.7 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3187, allocations: 338.8 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.319, allocations: 71.94 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.3192, allocations: 77.25 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.3197, allocations: 158.1 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3197, allocations: 0 / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005368/0.3202, allocations: 209.4 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3202, allocations: 4 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3203, allocations: 4 kB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3203, allocations: 4 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.3205, allocations: 39.89 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3205, allocations: 0 / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3207, allocations: 19.88 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3207, allocations: 8 kB / 1.337 GB, free: 7.031 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.0001465/0.3209, allocations: 138.3 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.3209, allocations: 23.86 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.321, allocations: 37.77 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.321, allocations: 3.938 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.321, allocations: 0 / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.3211, allocations: 31.84 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.3211, allocations: 0 / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3213, allocations: 23.91 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.3214, allocations: 7.984 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006804/0.3221, allocations: 294.1 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00062/0.3227, allocations: 390.5 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002368/0.3229, allocations: 87.3 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001676/0.3231, allocations: 177.2 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of Backend: time 6.92e-07/0.3231, allocations: 0 / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007466/0.3238, allocations: 184 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of SimCode: time 0.001056/0.3249, allocations: 0.8941 MB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of Templates: time 0.007611/0.3325, allocations: 3.429 MB / 1.342 GB, free: 1.328 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.528792696000892]