Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 116.4 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 193.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.1 MB / 0.7177 GB, free: 4.461 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 1.028 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3334, allocations: 151.6 MB / 1.176 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003414/0.3369, allocations: 2.014 MB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004869/0.3418, allocations: 3.685 MB / 1.181 GB, free: 252 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3419, allocations: 8 kB / 1.181 GB, free: 244 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.3423, allocations: 59.5 kB / 1.181 GB, free: 184 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.3426, allocations: 107.3 kB / 1.182 GB, free: 76 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.343, allocations: 127.6 kB / 1.182 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.3434, allocations: 251.1 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3436, allocations: 60.31 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.3438, allocations: 103.6 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.344, allocations: 119.4 kB / 1.182 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.344, allocations: 16 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.3443, allocations: 119.8 kB / 1.182 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.3444, allocations: 39.84 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3445, allocations: 103.4 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.3449, allocations: 286.8 kB / 1.183 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.345, allocations: 7.938 kB / 1.183 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.505e-06/0.345, allocations: 0 / 1.183 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.345, allocations: 0 / 1.183 GB, free: 14.86 MB / 0.9356 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.001211/0.3462, allocations: 0.5915 MB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3462, allocations: 8.031 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.3463, allocations: 24.8 kB / 1.183 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.3468, allocations: 275.8 kB / 1.184 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3468, allocations: 8.328 kB / 1.184 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.3468, allocations: 8.375 kB / 1.184 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.3473, allocations: 175.9 kB / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3474, allocations: 0 / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3474, allocations: 0 / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3474, allocations: 0 / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007019/0.3481, allocations: 195.8 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.349, allocations: 492.4 kB / 1.184 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.3494, allocations: 126.5 kB / 1.185 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.3498, allocations: 116.8 kB / 1.185 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009074/0.3507, allocations: 0.5495 MB / 1.185 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3508, allocations: 46.42 kB / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.3508, allocations: 0 / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001273/0.352, allocations: 345.5 kB / 1.186 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.3521, allocations: 55.41 kB / 1.186 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.3524, allocations: 234.7 kB / 1.186 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3524, allocations: 33.7 kB / 1.186 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3525, allocations: 132.1 kB / 1.186 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.3526, allocations: 39.69 kB / 1.186 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.557e-05/0.3527, allocations: 33.69 kB / 1.186 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3529, allocations: 330.8 kB / 1.186 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.3532, allocations: 95.84 kB / 1.187 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.3536, allocations: 99.91 kB / 1.187 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006896/0.3543, allocations: 201.3 kB / 1.187 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3543, allocations: 0 / 1.187 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007957/0.3551, allocations: 265.2 kB / 1.187 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3552, allocations: 6.344 kB / 1.187 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3552, allocations: 0 / 1.187 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3552, allocations: 0 / 1.187 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.3555, allocations: 43.94 kB / 1.187 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3555, allocations: 7.938 kB / 1.187 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.3557, allocations: 31.86 kB / 1.187 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.3558, allocations: 11.92 kB / 1.187 GB, free: 10.02 MB / 0.9356 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 0.0001357/0.3559, allocations: 125.8 kB / 1.187 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.356, allocations: 23.86 kB / 1.187 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000952/0.3569, allocations: 279.1 kB / 1.188 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3569, allocations: 0 / 1.188 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.357, allocations: 3.938 kB / 1.188 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.357, allocations: 0 / 1.188 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.3573, allocations: 285.3 kB / 1.188 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3573, allocations: 0 / 1.188 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.3576, allocations: 47.89 kB / 1.188 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3576, allocations: 0 / 1.188 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3576, allocations: 3.984 kB / 1.188 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3576, allocations: 4 kB / 1.188 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3577, allocations: 3.938 kB / 1.188 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008418/0.3585, allocations: 351.2 kB / 1.188 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3586, allocations: 116.9 kB / 1.188 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.3587, allocations: 4 kB / 1.188 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.3589, allocations: 23.97 kB / 1.188 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.359, allocations: 27.91 kB / 1.188 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.359, allocations: 4 kB / 1.188 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001596/0.3592, allocations: 181.8 kB / 1.189 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3592, allocations: 0 / 1.189 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003195/0.3595, allocations: 59.83 kB / 1.189 GB, free: 8.406 MB / 0.9356 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.0002333/0.3598, allocations: 119.2 kB / 1.189 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.3606, allocations: 215.8 kB / 1.189 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3606, allocations: 0 / 1.189 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.361, allocations: 123.8 kB / 1.189 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.3614, allocations: 28.53 kB / 1.189 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.3623, allocations: 459.7 kB / 1.19 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.3627, allocations: 0.7314 MB / 1.19 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.3628, allocations: 27.41 kB / 1.19 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.3628, allocations: 0 / 1.19 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of Templates: time 0.005462/0.3683, allocations: 2.991 MB / 1.193 GB, free: 3.676 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.642101319041103]