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.001375/0.001375, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001575/0.001575, allocations: 220 kB / 23 MB, free: 4.914 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.218/3.218, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 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.002121/0.002121, allocations: 74.33 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.366, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003376/0.3694, allocations: 1.849 MB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004714/0.3741, allocations: 3.464 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3742, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.3753, allocations: 175.2 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.3756, allocations: 87.45 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.3758, allocations: 51.88 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.3764, allocations: 279.1 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3766, allocations: 17.73 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.3767, allocations: 83.69 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.3769, allocations: 79.61 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.377, allocations: 8 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3771, allocations: 27.98 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.3772, allocations: 63.75 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.771e-05/0.3773, allocations: 67.59 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.3776, allocations: 206.9 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.3776, allocations: 0 / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3776, allocations: 0 / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.3776, allocations: 0 / 1.333 GB, free: 11.44 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.001139/0.3788, allocations: 488.7 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3788, allocations: 8.031 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.3792, allocations: 60.75 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.3798, allocations: 202.6 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-06/0.3798, allocations: 4.375 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.3798, allocations: 4.375 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.3802, allocations: 145.7 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3802, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3802, allocations: 7.984 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.3802, allocations: 11.98 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.3807, allocations: 139.9 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.3815, allocations: 388.2 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.3819, allocations: 166.4 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.3822, allocations: 100.8 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3822, allocations: 7.938 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3822, allocations: 30.56 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.3822, allocations: 0 / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008632/0.3831, allocations: 305.5 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.3831, allocations: 59.39 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.3834, allocations: 252.2 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3834, allocations: 25.7 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3835, allocations: 140.1 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.3836, allocations: 39.64 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.3836, allocations: 33.7 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3838, allocations: 338.8 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.3841, allocations: 75.94 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.3843, allocations: 75.94 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.3847, allocations: 171.5 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3847, allocations: 0 / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005389/0.3853, allocations: 221.4 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3853, allocations: 4 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3853, allocations: 4 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3853, allocations: 0 / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3856, allocations: 31.97 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3856, allocations: 4 kB / 1.336 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3857, allocations: 23.91 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3857, allocations: 0 / 1.336 GB, free: 7.77 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.0001513/0.3859, allocations: 146.2 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.3859, allocations: 23.86 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.386, allocations: 33.8 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.386, allocations: 0 / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.386, allocations: 0 / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.386, allocations: 0 / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3863, allocations: 209.1 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3863, allocations: 0 / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3865, allocations: 31.97 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3865, allocations: 0 / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.3865, allocations: 11.98 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3865, allocations: 0 / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3865, allocations: 4 kB / 1.336 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.3871, allocations: 327.1 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/0.3872, allocations: 47.72 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.3873, allocations: 4 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.3875, allocations: 11.98 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.3875, allocations: 19.92 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3875, allocations: 3.984 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001774/0.3877, allocations: 187.1 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3877, allocations: 0 / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002796/0.388, allocations: 40 kB / 1.337 GB, free: 6.633 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.0001723/0.3882, allocations: 103.2 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005513/0.3887, allocations: 177.2 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3887, allocations: 0 / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.389, allocations: 87.86 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.3894, allocations: 56.88 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009605/0.3904, allocations: 0.4943 MB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.3905, allocations: 140.1 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/0.3906, allocations: 23.42 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3906, allocations: 0 / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of Templates: time 0.00547/0.3961, allocations: 2.94 MB / 1.341 GB, free: 2.59 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: 11.86438054824248]