Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009048/0.0009048, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009647/0.0009647, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9484/0.9484, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.661/1.661, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 4 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.527e-05, allocations: 5.094 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002052/0.002078, allocations: 1.889 MB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.004749, allocations: 3.304 MB / 0.9568 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.004832, allocations: 0 / 0.9568 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.005067, allocations: 59.52 kB / 0.9569 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.005461, allocations: 131.2 kB / 0.957 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 9.291e-05/0.005554, allocations: 63.8 kB / 0.957 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.005776, allocations: 191.1 kB / 0.9572 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.005874, allocations: 13.81 kB / 0.9572 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.00606, allocations: 119.6 kB / 0.9574 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.006187, allocations: 71.8 kB / 0.9574 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.006213, allocations: 12 kB / 0.9574 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.006288, allocations: 31.86 kB / 0.9575 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.006359, allocations: 43.83 kB / 0.9575 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.006408, allocations: 43.86 kB / 0.9576 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.006627, allocations: 183.3 kB / 0.9577 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.006631, allocations: 7.984 kB / 0.9577 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.164e-06/0.006634, allocations: 4 kB / 0.9577 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.006639, allocations: 3.938 kB / 0.9577 GB, free: 12.79 MB / 0.9167 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.0006128/0.007252, allocations: 445 kB / 0.9582 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.007293, allocations: 16.02 kB / 0.9582 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.007482, allocations: 52.77 kB / 0.9582 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.007744, allocations: 200.8 kB / 0.9584 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.007752, allocations: 384 / 0.9584 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.007767, allocations: 16.36 kB / 0.9584 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.007979, allocations: 138.1 kB / 0.9586 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.007988, allocations: 4.125 kB / 0.9586 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.008001, allocations: 4.125 kB / 0.9586 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.008023, allocations: 8 kB / 0.9586 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.008263, allocations: 147.9 kB / 0.9587 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.008704, allocations: 372.3 kB / 0.9591 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.008939, allocations: 166.3 kB / 0.9592 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.00908, allocations: 100.8 kB / 0.9593 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.0091, allocations: 4 kB / 0.9593 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.009123, allocations: 38.5 kB / 0.9594 GB, free: 11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.009124, allocations: 0 / 0.9594 GB, free: 11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0005294/0.009654, allocations: 297.6 kB / 0.9597 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.009691, allocations: 55.41 kB / 0.9597 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.00985, allocations: 217.9 kB / 0.9599 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.009866, allocations: 33.64 kB / 0.96 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.009934, allocations: 124.1 kB / 0.9601 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.009972, allocations: 47.53 kB / 0.9601 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.01002, allocations: 33.7 kB / 0.9602 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.01011, allocations: 326.8 kB / 0.9605 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.01024, allocations: 79.92 kB / 0.9605 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.01036, allocations: 75.94 kB / 0.9606 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.0106, allocations: 171.1 kB / 0.9608 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.0106, allocations: 3.984 kB / 0.9608 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000285/0.01089, allocations: 213.4 kB / 0.961 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.0109, allocations: 8 kB / 0.961 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.01091, allocations: 3.984 kB / 0.961 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.01092, allocations: 4 kB / 0.961 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01104, allocations: 35.91 kB / 0.961 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01105, allocations: 0 / 0.961 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.01112, allocations: 11.98 kB / 0.961 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.01113, allocations: 11.98 kB / 0.9611 GB, free: 9.223 MB / 0.9167 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 7.86e-05/0.01121, allocations: 121.8 kB / 0.9612 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.01123, allocations: 31.73 kB / 0.9612 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.01127, allocations: 25.77 kB / 0.9612 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01127, allocations: 4 kB / 0.9612 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01128, allocations: 0 / 0.9612 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01128, allocations: 4 kB / 0.9612 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.01143, allocations: 189.2 kB / 0.9614 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01144, allocations: 0 / 0.9614 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.01153, allocations: 47.83 kB / 0.9615 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01153, allocations: 0 / 0.9615 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.01154, allocations: 4 kB / 0.9615 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01154, allocations: 0 / 0.9615 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01154, allocations: 0 / 0.9615 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.01185, allocations: 320.3 kB / 0.9618 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.0119, allocations: 43.72 kB / 0.9618 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.01192, allocations: 0 / 0.9618 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.012, allocations: 15.97 kB / 0.9618 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.01204, allocations: 15.92 kB / 0.9618 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01205, allocations: 8 kB / 0.9618 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.682e-05/0.01214, allocations: 165.2 kB / 0.962 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01214, allocations: 0 / 0.962 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001709/0.01231, allocations: 39.94 kB / 0.962 GB, free: 8.152 MB / 0.9167 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.0001192/0.01243, allocations: 107.2 kB / 0.9621 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002918/0.01272, allocations: 175.8 kB / 0.9623 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01273, allocations: 0 / 0.9623 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.01285, allocations: 83.31 kB / 0.9624 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01309, allocations: 30.38 kB / 0.9624 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.01364, allocations: 455.7 kB / 0.9629 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.09e-05/0.01372, allocations: 124.1 kB / 0.963 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.01378, allocations: 24.48 kB / 0.963 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of SimCode: time 4.7e-07/0.01378, allocations: 0 / 0.963 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of Templates: time 0.002918/0.01669, allocations: 2.505 MB / 0.9654 GB, free: 4.617 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.806037601083517]