Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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.001248/0.001248, allocations: 76.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.001796/0.001796, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8855/0.8855, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.654/1.654, 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.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 4 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.269e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6092/0.6093, allocations: 155.7 MB / 1.104 GB, free: 37.74 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01146/0.6207, allocations: 10.3 MB / 1.114 GB, free: 34.23 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.6221, allocations: 47.94 kB / 1.114 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.6231, allocations: 425 kB / 1.114 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.6262, allocations: 1.164 MB / 1.115 GB, free: 33.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.6305, allocations: 1.796 MB / 1.117 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003531/0.634, allocations: 2.47 MB / 1.12 GB, free: 31.39 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.6359, allocations: 1.113 MB / 1.121 GB, free: 30.82 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003772/0.6397, allocations: 1.713 MB / 1.122 GB, free: 30.05 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.6409, allocations: 0.6774 MB / 1.123 GB, free: 29.81 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.6412, allocations: 162.6 kB / 1.123 GB, free: 29.81 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.6441, allocations: 1.294 MB / 1.124 GB, free: 29.4 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.6445, allocations: 490.1 kB / 1.125 GB, free: 29.11 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007974/0.6453, allocations: 0.5468 MB / 1.125 GB, free: 28.85 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.6505, allocations: 2.8 MB / 1.128 GB, free: 27.76 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6505, allocations: 3.719 kB / 1.128 GB, free: 27.76 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6505, allocations: 0 / 1.128 GB, free: 27.76 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.943e-05/0.6506, allocations: 0 / 1.128 GB, free: 27.76 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.003228/0.6538, allocations: 1.899 MB / 1.13 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.6539, allocations: 12.75 kB / 1.13 GB, free: 26.54 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.6555, allocations: 411 kB / 1.13 GB, free: 26.43 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.6569, allocations: 0.927 MB / 1.131 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.36e-05/0.657, allocations: 93.91 kB / 1.131 GB, free: 25.85 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.6571, allocations: 129.7 kB / 1.132 GB, free: 25.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.659, allocations: 1.702 MB / 1.133 GB, free: 24.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.659, allocations: 0 / 1.133 GB, free: 24.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.6591, allocations: 48.92 kB / 1.133 GB, free: 24.71 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.6591, allocations: 29.62 kB / 1.133 GB, free: 24.71 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.661, allocations: 1.413 MB / 1.135 GB, free: 24.34 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.6657, allocations: 3.012 MB / 1.138 GB, free: 22.71 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.6673, allocations: 1.126 MB / 1.139 GB, free: 22.28 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.6678, allocations: 430.2 kB / 1.139 GB, free: 22.12 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/0.6683, allocations: 114.9 kB / 1.139 GB, free: 22.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009654/0.6692, allocations: 0.9007 MB / 1.14 GB, free: 21.56 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=114): time 3.837e-06/0.6692, allocations: 1.344 kB / 1.14 GB, free: 21.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=114): time 0.002998/0.6722, allocations: 1.564 MB / 1.142 GB, free: 21 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.6723, allocations: 210.5 kB / 1.142 GB, free: 20.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.6732, allocations: 0.7513 MB / 1.143 GB, free: 20.45 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.681e-05/0.6733, allocations: 56.58 kB / 1.143 GB, free: 20.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.6736, allocations: 0.5346 MB / 1.143 GB, free: 19.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.6738, allocations: 392.9 kB / 1.144 GB, free: 19.67 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.6741, allocations: 228.2 kB / 1.144 GB, free: 19.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.6741, allocations: 355.6 kB / 1.144 GB, free: 19.24 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.6747, allocations: 405.7 kB / 1.144 GB, free: 19.1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.6754, allocations: 0.7122 MB / 1.145 GB, free: 18.64 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.6765, allocations: 0.9135 MB / 1.146 GB, free: 18.22 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6765, allocations: 0 / 1.146 GB, free: 18.22 MB / 0.9948 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001929/0.6784, allocations: 1.244 MB / 1.147 GB, free: 17.72 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.6785, allocations: 10.53 kB / 1.147 GB, free: 17.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6785, allocations: 1.828 kB / 1.147 GB, free: 17.72 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003512/0.6788, allocations: 81.44 kB / 1.147 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.6794, allocations: 244.9 kB / 1.148 GB, free: 17.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.6807, allocations: 1.513 MB / 1.149 GB, free: 16.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/0.6815, allocations: 116.9 kB / 1.149 GB, free: 16.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.6816, allocations: 55.09 kB / 1.149 GB, free: 16.23 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006818/0.6823, allocations: 336.4 kB / 1.15 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.6825, allocations: 112.7 kB / 1.15 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.6846, allocations: 1.538 MB / 1.151 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.6846, allocations: 18.97 kB / 1.151 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6846, allocations: 2.141 kB / 1.151 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.6846, allocations: 6.094 kB / 1.151 GB, free: 15.3 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/0.6882, allocations: 2.524 MB / 1.154 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6882, allocations: 1.25 kB / 1.154 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.6887, allocations: 205.3 kB / 1.154 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/0.6889, allocations: 77.73 kB / 1.154 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.689, allocations: 33.11 kB / 1.154 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.69, allocations: 1.55 MB / 1.155 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.69, allocations: 1.406 kB / 1.155 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.6924, allocations: 1.909 MB / 1.157 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.6929, allocations: 254 kB / 1.158 GB, free: 11.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.693, allocations: 30.88 kB / 1.158 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.6935, allocations: 80.52 kB / 1.158 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.6936, allocations: 95.97 kB / 1.158 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/0.6937, allocations: 46.41 kB / 1.158 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006275/0.6943, allocations: 0.5336 MB / 1.158 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6943, allocations: 0 / 1.158 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001418/0.6957, allocations: 497.8 kB / 1.159 GB, free: 11.23 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001408/0.6971, allocations: 0.752 MB / 1.16 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.6989, allocations: 1.11 MB / 1.161 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.6989, allocations: 1.125 kB / 1.161 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007145/0.6997, allocations: 0.6315 MB / 1.161 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.7009, allocations: 442 kB / 1.162 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.7042, allocations: 2.424 MB / 1.164 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.7047, allocations: 0.5784 MB / 1.165 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.7051, allocations: 154.6 kB / 1.165 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of SimCode: time 1.233e-06/0.7051, allocations: 0 / 1.165 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of Templates: time 0.03047/0.7356, allocations: 26.94 MB / 1.191 GB, free: 13.91 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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.940716667100787]