Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001507/0.001507, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.001705/0.001705, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.784/2.784, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [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.002137/0.002137, allocations: 67.89 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9229/0.9251, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002997/0.9281, allocations: 2.002 MB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003989/0.932, allocations: 3.895 MB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.9322, allocations: 2.906 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007661/0.9329, allocations: 190.1 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.933, allocations: 65.42 kB / 1.16 GB, free: 29.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006711/0.9337, allocations: 320.5 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.9342, allocations: 393.4 kB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.9343, allocations: 31.86 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.9345, allocations: 119.9 kB / 1.161 GB, free: 28.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.9346, allocations: 119 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.9347, allocations: 18.5 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004671/0.9352, allocations: 307.9 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.9352, allocations: 109 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.9354, allocations: 116 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.9359, allocations: 0.5332 MB / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.9359, allocations: 3.094 kB / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9359, allocations: 0 / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.9359, allocations: 3.938 kB / 1.162 GB, free: 28.42 MB / 1.076 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.001314/0.9372, allocations: 0.6923 MB / 1.163 GB, free: 27.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.9372, allocations: 13.03 kB / 1.163 GB, free: 27.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.9377, allocations: 85.44 kB / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.9382, allocations: 298 kB / 1.163 GB, free: 27.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.9382, allocations: 11.25 kB / 1.163 GB, free: 27.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.9382, allocations: 9.875 kB / 1.163 GB, free: 27.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.9387, allocations: 196.9 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.9387, allocations: 0 / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.9387, allocations: 2.75 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.9387, allocations: 4 kB / 1.163 GB, free: 27.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006517/0.9394, allocations: 240.1 kB / 1.163 GB, free: 27.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007853/0.9401, allocations: 0.5077 MB / 1.164 GB, free: 27.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.9405, allocations: 170.1 kB / 1.164 GB, free: 27.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.9409, allocations: 133.4 kB / 1.164 GB, free: 27.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.9409, allocations: 19.44 kB / 1.164 GB, free: 27.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.9409, allocations: 33.72 kB / 1.164 GB, free: 27.1 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.9409, allocations: 0 / 1.164 GB, free: 27.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.00114/0.9421, allocations: 441.5 kB / 1.165 GB, free: 26.97 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.9421, allocations: 54.41 kB / 1.165 GB, free: 26.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.9424, allocations: 421.7 kB / 1.165 GB, free: 26.71 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.9425, allocations: 29.7 kB / 1.165 GB, free: 26.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/0.9426, allocations: 188.4 kB / 1.165 GB, free: 26.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.9426, allocations: 36.14 kB / 1.165 GB, free: 26.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.9426, allocations: 42.86 kB / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.9427, allocations: 356.1 kB / 1.166 GB, free: 26.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.9431, allocations: 210 kB / 1.166 GB, free: 26.06 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.9435, allocations: 213 kB / 1.166 GB, free: 25.98 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/0.9442, allocations: 362 kB / 1.166 GB, free: 25.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9442, allocations: 0 / 1.166 GB, free: 25.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008596/0.9451, allocations: 0.5123 MB / 1.167 GB, free: 25.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.9451, allocations: 44.53 kB / 1.167 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.9451, allocations: 0 / 1.167 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.9451, allocations: 2.625 kB / 1.167 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.9454, allocations: 46.36 kB / 1.167 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.9454, allocations: 0 / 1.167 GB, free: 25.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.9457, allocations: 37.91 kB / 1.167 GB, free: 25.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.9457, allocations: 16.56 kB / 1.167 GB, free: 25.61 MB / 1.076 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001122/0.9458, allocations: 152.1 kB / 1.167 GB, free: 25.48 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.9458, allocations: 40.55 kB / 1.167 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008532/0.9467, allocations: 345 kB / 1.168 GB, free: 25.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.9467, allocations: 2.625 kB / 1.168 GB, free: 25.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9467, allocations: 0 / 1.168 GB, free: 25.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.9467, allocations: 0 / 1.168 GB, free: 25.35 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.947, allocations: 270.2 kB / 1.168 GB, free: 25.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.947, allocations: 0 / 1.168 GB, free: 25.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002828/0.9472, allocations: 54.17 kB / 1.168 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.9472, allocations: 2.625 kB / 1.168 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.9473, allocations: 3.375 kB / 1.168 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9473, allocations: 2.625 kB / 1.168 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.9473, allocations: 0 / 1.168 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007708/0.948, allocations: 426.2 kB / 1.168 GB, free: 24.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.9481, allocations: 60.45 kB / 1.168 GB, free: 24.91 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.9482, allocations: 0 / 1.168 GB, free: 24.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.9484, allocations: 27.53 kB / 1.168 GB, free: 24.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.9485, allocations: 16.44 kB / 1.168 GB, free: 24.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.9485, allocations: 5.938 kB / 1.168 GB, free: 24.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002259/0.9487, allocations: 292.6 kB / 1.169 GB, free: 24.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9487, allocations: 10.66 kB / 1.169 GB, free: 24.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000447/0.9492, allocations: 115.2 kB / 1.169 GB, free: 24.74 MB / 1.076 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.0002795/0.9495, allocations: 175.9 kB / 1.169 GB, free: 24.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009106/0.9504, allocations: 470.3 kB / 1.169 GB, free: 24.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9504, allocations: 0 / 1.169 GB, free: 24.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.9507, allocations: 132 kB / 1.17 GB, free: 24.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.9512, allocations: 58.02 kB / 1.17 GB, free: 24.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.9523, allocations: 0.6423 MB / 1.17 GB, free: 24.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.9525, allocations: 179.4 kB / 1.17 GB, free: 23.97 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.9526, allocations: 59.09 kB / 1.171 GB, free: 23.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.9527, allocations: 27.84 kB / 1.171 GB, free: 23.93 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.9527, allocations: 0 / 1.171 GB, free: 23.93 MB / 1.076 GB Notification: Performance of Templates: time 0.01024/0.963, allocations: 5.105 MB / 1.176 GB, free: 23.41 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.833504494978115]