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.001808/0.001808, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001894/0.001894, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.901/2.901, allocations: 0.49 GB / 0.7958 GB, free: 33.45 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.001861/0.001861, allocations: 66.7 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3066, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003109/0.3097, allocations: 1.934 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004438/0.3141, allocations: 3.752 MB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.3142, allocations: 4 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007768/0.315, allocations: 199.1 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.3152, allocations: 83.45 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.3153, allocations: 43.94 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.3158, allocations: 287.1 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.3159, allocations: 25.72 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.316, allocations: 83.62 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.3162, allocations: 79.62 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.3162, allocations: 8 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.294e-05/0.3163, allocations: 35.97 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.3164, allocations: 55.77 kB / 1.334 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3165, allocations: 95.45 kB / 1.334 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.3168, allocations: 202.9 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3168, allocations: 4 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3168, allocations: 0 / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.3168, allocations: 0 / 1.334 GB, free: 10.54 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.0009196/0.3178, allocations: 480.7 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3178, allocations: 8.031 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.3182, allocations: 60.75 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.3186, allocations: 206.6 kB / 1.335 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3186, allocations: 8.375 kB / 1.335 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.3186, allocations: 4.375 kB / 1.335 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.319, allocations: 149.7 kB / 1.335 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.319, allocations: 0 / 1.335 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.319, allocations: 0 / 1.335 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.319, allocations: 15.91 kB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004159/0.3194, allocations: 139.9 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007641/0.3202, allocations: 435.5 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.3206, allocations: 158.5 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.3209, allocations: 104.8 kB / 1.336 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3209, allocations: 3.938 kB / 1.336 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3209, allocations: 38.56 kB / 1.336 GB, free: 8.637 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3209, allocations: 0 / 1.336 GB, free: 8.637 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008684/0.3218, allocations: 297.5 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3218, allocations: 51.41 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.3221, allocations: 252.2 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.3221, allocations: 33.7 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.3222, allocations: 140 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.3222, allocations: 43.64 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.3223, allocations: 33.7 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3225, allocations: 338.8 kB / 1.337 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.3227, allocations: 71.94 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.3229, allocations: 82.05 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.3233, allocations: 160.8 kB / 1.337 GB, free: 7.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3233, allocations: 3.938 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000522/0.3238, allocations: 230.4 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3238, allocations: 4 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3238, allocations: 0 / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3239, allocations: 0 / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.3241, allocations: 35.95 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3241, allocations: 4 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.3242, allocations: 15.92 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3243, allocations: 4 kB / 1.337 GB, free: 6.816 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.0001301/0.3244, allocations: 150.9 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.3244, allocations: 23.86 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.3245, allocations: 33.8 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3245, allocations: 0 / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3245, allocations: 0 / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3245, allocations: 0 / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.3249, allocations: 248.5 kB / 1.338 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3249, allocations: 0 / 1.338 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.3251, allocations: 39.95 kB / 1.338 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3251, allocations: 0 / 1.338 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3252, allocations: 8 kB / 1.338 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3252, allocations: 4 kB / 1.338 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3252, allocations: 0 / 1.338 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.3257, allocations: 334.2 kB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.3258, allocations: 43.73 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.3258, allocations: 0 / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.326, allocations: 11.98 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.3261, allocations: 19.95 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3261, allocations: 4 kB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001613/0.3263, allocations: 187.1 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3263, allocations: 4 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002631/0.3265, allocations: 39.94 kB / 1.338 GB, free: 5.621 MB / 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.0001395/0.3267, allocations: 107.2 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005023/0.3272, allocations: 175.8 kB / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3272, allocations: 0 / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.3274, allocations: 91.86 kB / 1.339 GB, free: 5.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3278, allocations: 52.88 kB / 1.339 GB, free: 5.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.3287, allocations: 0.4926 MB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.3291, allocations: 0.7514 MB / 1.34 GB, free: 3.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.3292, allocations: 23.42 kB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3292, allocations: 0 / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of Templates: time 0.004853/0.334, allocations: 2.835 MB / 1.343 GB, free: 1.059 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: 10.468875263992231]