Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0009496/0.0009496, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001017/0.001017, 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.9042/0.9042, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.596/1.596, allocations: 359 MB / 0.6044 GB, free: 11.11 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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.851e-05, allocations: 6.219 kB / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00224/0.002268, allocations: 1.965 MB / 0.9536 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.005496, allocations: 3.561 MB / 0.9571 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.005606, allocations: 3.938 kB / 0.9571 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.00585, allocations: 55.58 kB / 0.9572 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.006093, allocations: 103.2 kB / 0.9573 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.006426, allocations: 175.5 kB / 0.9574 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.006695, allocations: 270.9 kB / 0.9577 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.00681, allocations: 36.5 kB / 0.9577 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.007023, allocations: 151.7 kB / 0.9579 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.683e-05/0.007119, allocations: 95.64 kB / 0.958 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.007145, allocations: 16 kB / 0.958 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.007298, allocations: 103.9 kB / 0.9581 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.007347, allocations: 55.75 kB / 0.9581 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.007407, allocations: 59.84 kB / 0.9582 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.007709, allocations: 318.9 kB / 0.9585 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.007713, allocations: 0 / 0.9585 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.007715, allocations: 0 / 0.9585 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.007721, allocations: 3.938 kB / 0.9585 GB, free: 12.01 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006902/0.008411, allocations: 0.524 MB / 0.959 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.008448, allocations: 8.031 kB / 0.959 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.008679, allocations: 68.73 kB / 0.9591 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.009039, allocations: 229.8 kB / 0.9593 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.009052, allocations: 4.375 kB / 0.9593 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.009069, allocations: 8.375 kB / 0.9593 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.009383, allocations: 179.5 kB / 0.9595 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.009391, allocations: 4.188 kB / 0.9595 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.009405, allocations: 4.125 kB / 0.9595 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.00941, allocations: 4 kB / 0.9595 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.009765, allocations: 195.8 kB / 0.9597 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.01029, allocations: 404.1 kB / 0.9601 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.01051, allocations: 118.5 kB / 0.9602 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.01068, allocations: 100.8 kB / 0.9603 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003282/0.01101, allocations: 103.9 kB / 0.9604 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.01103, allocations: 34.56 kB / 0.9604 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 2.675e-06/0.01104, allocations: 0 / 0.9604 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0006635/0.0117, allocations: 365.8 kB / 0.9608 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.01173, allocations: 51.41 kB / 0.9608 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.01189, allocations: 248.2 kB / 0.9611 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.01191, allocations: 25.7 kB / 0.9611 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.01198, allocations: 144.1 kB / 0.9612 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.01201, allocations: 39.62 kB / 0.9613 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.01206, allocations: 29.7 kB / 0.9613 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.01214, allocations: 338.8 kB / 0.9616 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.01231, allocations: 91.91 kB / 0.9617 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.01248, allocations: 104 kB / 0.9618 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.01282, allocations: 192.7 kB / 0.962 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01282, allocations: 0 / 0.962 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003968/0.01322, allocations: 265.2 kB / 0.9622 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01324, allocations: 8 kB / 0.9622 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01324, allocations: 4 kB / 0.9622 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.01325, allocations: 4 kB / 0.9622 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.01341, allocations: 43.94 kB / 0.9623 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01341, allocations: 0 / 0.9623 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-05/0.0135, allocations: 27.92 kB / 0.9623 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01351, allocations: 7.984 kB / 0.9623 GB, free: 7.93 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 (11): * Single equations (assignments): 11 * 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 9.046e-05/0.0136, allocations: 133.7 kB / 0.9624 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.01363, allocations: 27.86 kB / 0.9625 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.0141, allocations: 279.2 kB / 0.9627 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01411, allocations: 4 kB / 0.9627 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01411, allocations: 3.938 kB / 0.9627 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01411, allocations: 0 / 0.9627 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.01429, allocations: 197.2 kB / 0.9629 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01429, allocations: 0 / 0.9629 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.01441, allocations: 51.94 kB / 0.963 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01441, allocations: 0 / 0.963 GB, free: 7.195 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.01442, allocations: 7.922 kB / 0.963 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01442, allocations: 4 kB / 0.963 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.01443, allocations: 4 kB / 0.963 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.01487, allocations: 355 kB / 0.9633 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.01493, allocations: 47.77 kB / 0.9634 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.01495, allocations: 0 / 0.9634 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.01505, allocations: 27.97 kB / 0.9634 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.01511, allocations: 15.97 kB / 0.9634 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.01512, allocations: 3.984 kB / 0.9634 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.758e-05/0.01521, allocations: 175.1 kB / 0.9636 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01521, allocations: 0 / 0.9636 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002237/0.01544, allocations: 59.86 kB / 0.9637 GB, free: 6.496 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 (11): * Single equations (assignments): 11 * 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.0001975/0.01563, allocations: 147 kB / 0.9638 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.01619, allocations: 208.3 kB / 0.964 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01619, allocations: 4 kB / 0.964 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.01638, allocations: 108.1 kB / 0.9641 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.01666, allocations: 48.48 kB / 0.9641 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.01726, allocations: 440.9 kB / 0.9646 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.127e-05/0.01734, allocations: 125.2 kB / 0.9647 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.01741, allocations: 36.47 kB / 0.9647 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of SimCode: time 8.12e-07/0.01741, allocations: 0 / 0.9647 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.003765/0.02118, allocations: 3.23 MB / 0.9679 GB, free: 2.125 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.618717886507511]