Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 195.3 kB / 16.14 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.778/2.778, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 59.91 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6955/0.6975, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2291/0.9266, allocations: 174.3 MB / 1.187 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.9434, allocations: 10.93 MB / 1.197 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.9448, allocations: 31.81 kB / 1.197 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.9462, allocations: 333.8 kB / 1.198 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.9494, allocations: 0.9875 MB / 1.199 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.9537, allocations: 1.521 MB / 1.2 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00371/0.9574, allocations: 2.669 MB / 1.203 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.9597, allocations: 1.274 MB / 1.204 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004258/0.964, allocations: 1.138 MB / 1.205 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.9654, allocations: 0.7856 MB / 1.206 GB, free: 152 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.9656, allocations: 80 kB / 1.206 GB, free: 72 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.969, allocations: 1.45 MB / 1.207 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.9695, allocations: 374.7 kB / 1.208 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.9706, allocations: 0.7149 MB / 1.209 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.9747, allocations: 2.52 MB / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.9747, allocations: 3.984 kB / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9747, allocations: 0 / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.908e-05/0.9748, allocations: 0 / 1.211 GB, free: 11 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003858/0.9786, allocations: 1.884 MB / 1.213 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.9787, allocations: 15.98 kB / 1.213 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.9812, allocations: 349.8 kB / 1.213 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.9831, allocations: 0.9524 MB / 1.214 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.236e-05/0.9832, allocations: 86.33 kB / 1.214 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.9834, allocations: 112 kB / 1.214 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.9859, allocations: 1.294 MB / 1.216 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.986, allocations: 7.922 kB / 1.216 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.9861, allocations: 52 kB / 1.216 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.9861, allocations: 28 kB / 1.216 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/0.9888, allocations: 1.453 MB / 1.217 GB, free: 4.598 MB / 0.9669 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.007368/0.9962, allocations: 4.072 MB / 1.221 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.9986, allocations: 1.212 MB / 1.222 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008384/0.9995, allocations: 446.6 kB / 1.223 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008358/1, allocations: 433.3 kB / 1.223 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/1.002, allocations: 0.6539 MB / 1.224 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 2.725e-06/1.002, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.004446/1.006, allocations: 1.606 MB / 1.225 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.006, allocations: 196.9 kB / 1.225 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.008, allocations: 0.8746 MB / 1.226 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/1.008, allocations: 53.7 kB / 1.226 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/1.008, allocations: 0.516 MB / 1.227 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/1.009, allocations: 358.9 kB / 1.227 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/1.009, allocations: 206.8 kB / 1.227 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.009, allocations: 349.9 kB / 1.228 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/1.01, allocations: 382.4 kB / 1.228 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009645/1.011, allocations: 0.5085 MB / 1.229 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.013, allocations: 0.868 MB / 1.229 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.013, allocations: 0 / 1.229 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002877/1.016, allocations: 1.165 MB / 1.231 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.016, allocations: 5.875 kB / 1.231 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.016, allocations: 0 / 1.231 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/1.016, allocations: 92.8 kB / 1.231 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.017, allocations: 227.7 kB / 1.231 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/1.02, allocations: 1.538 MB / 1.232 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.021, allocations: 142.9 kB / 1.233 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.021, allocations: 52.03 kB / 1.233 GB, free: 4.062 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (128): * Single equations (assignments): 127 * 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.0007103/1.022, allocations: 327.3 kB / 1.233 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/1.022, allocations: 114.6 kB / 1.233 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/1.026, allocations: 1.505 MB / 1.234 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/1.026, allocations: 16 kB / 1.235 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.026, allocations: 0 / 1.235 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/1.026, allocations: 7.969 kB / 1.235 GB, free: 2.066 MB / 0.9825 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.005344/1.031, allocations: 2.834 MB / 1.237 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/1.031, allocations: 0 / 1.237 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009601/1.032, allocations: 199.8 kB / 1.237 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000552/1.033, allocations: 88.89 kB / 1.238 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.022e-05/1.033, allocations: 35.97 kB / 1.238 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/1.035, allocations: 1.559 MB / 1.239 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.035, allocations: 4 kB / 1.239 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/1.039, allocations: 1.86 MB / 1.241 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000692/1.039, allocations: 343.3 kB / 1.241 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/1.04, allocations: 31.84 kB / 1.241 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009568/1.04, allocations: 93.91 kB / 1.241 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/1.041, allocations: 80.88 kB / 1.241 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.041, allocations: 55.97 kB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009638/1.042, allocations: 0.6183 MB / 1.242 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.042, allocations: 0 / 1.242 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001309/1.043, allocations: 467 kB / 1.243 GB, free: 9.508 MB / 0.9981 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002266/1.045, allocations: 0.7104 MB / 1.243 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002412/1.048, allocations: 1.093 MB / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.048, allocations: 0 / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/1.049, allocations: 0.6568 MB / 1.245 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/1.051, allocations: 0.4884 MB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/1.056, allocations: 2.938 MB / 1.248 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008554/1.057, allocations: 1.166 MB / 1.249 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001467/1.059, allocations: 365.7 kB / 1.25 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/1.059, allocations: 135.3 kB / 1.25 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.059, allocations: 0 / 1.25 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of Templates: time 0.6027/1.662, allocations: 22.85 MB / 1.272 GB, free: 225.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches