Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001681/0.001681, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 71.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.697/0.6985, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1906/0.8892, allocations: 173.7 MB / 1.119 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.9052, allocations: 10.89 MB / 1.13 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.9067, allocations: 23.88 kB / 1.13 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.9083, allocations: 321.8 kB / 1.13 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.9118, allocations: 0.9498 MB / 1.131 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004717/0.9165, allocations: 1.517 MB / 1.133 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003277/0.9198, allocations: 2.588 MB / 1.135 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.9221, allocations: 1.305 MB / 1.136 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004241/0.9263, allocations: 1.123 MB / 1.138 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.9277, allocations: 0.7662 MB / 1.138 GB, free: 244 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004435/0.9282, allocations: 80 kB / 1.138 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.9313, allocations: 1.454 MB / 1.14 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006526/0.932, allocations: 382.6 kB / 1.14 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.9333, allocations: 0.6915 MB / 1.141 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.9361, allocations: 1.859 MB / 1.143 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.9361, allocations: 0 / 1.143 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9362, allocations: 7.938 kB / 1.143 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.962e-05/0.9362, allocations: 0 / 1.143 GB, free: 11.76 MB / 0.9044 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.004421/0.9407, allocations: 1.864 MB / 1.144 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9407, allocations: 19.97 kB / 1.144 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002439/0.9432, allocations: 345.9 kB / 1.145 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.945, allocations: 0.9447 MB / 1.146 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-05/0.9451, allocations: 94.31 kB / 1.146 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.9454, allocations: 115.9 kB / 1.146 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.9483, allocations: 1.302 MB / 1.147 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.9484, allocations: 0 / 1.147 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.9485, allocations: 48 kB / 1.147 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.9486, allocations: 28 kB / 1.147 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.9512, allocations: 1.457 MB / 1.149 GB, free: 5.375 MB / 0.9044 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.007114/0.9583, allocations: 3.848 MB / 1.152 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.9608, allocations: 1.209 MB / 1.154 GB, free: 144 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/0.9616, allocations: 455.6 kB / 1.154 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007981/0.9625, allocations: 421.3 kB / 1.154 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.9637, allocations: 0.6683 MB / 1.155 GB, free: 14.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 3.156e-06/0.9637, allocations: 0 / 1.155 GB, free: 14.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.00436/0.9681, allocations: 1.602 MB / 1.157 GB, free: 12.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.9683, allocations: 200.9 kB / 1.157 GB, free: 12.65 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.9698, allocations: 0.8824 MB / 1.158 GB, free: 11.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.9699, allocations: 41.7 kB / 1.158 GB, free: 11.7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004933/0.9704, allocations: 0.5161 MB / 1.158 GB, free: 11.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.9707, allocations: 354.8 kB / 1.159 GB, free: 10.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.9711, allocations: 210.8 kB / 1.159 GB, free: 10.61 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.9713, allocations: 349.9 kB / 1.159 GB, free: 10.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/0.9721, allocations: 390.3 kB / 1.16 GB, free: 9.883 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/0.973, allocations: 0.5007 MB / 1.16 GB, free: 9.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.9747, allocations: 0.8719 MB / 1.161 GB, free: 8.465 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.9747, allocations: 0 / 1.161 GB, free: 8.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002829/0.9775, allocations: 1.165 MB / 1.162 GB, free: 7.293 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.9776, allocations: 4 kB / 1.162 GB, free: 7.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.9776, allocations: 7.984 kB / 1.162 GB, free: 7.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/0.9783, allocations: 80.88 kB / 1.162 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.9793, allocations: 231.7 kB / 1.162 GB, free: 6.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.9815, allocations: 1.534 MB / 1.164 GB, free: 5.297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.9829, allocations: 142.9 kB / 1.164 GB, free: 5.156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.9831, allocations: 51.95 kB / 1.164 GB, free: 5.105 MB / 0.92 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.0007754/0.9838, allocations: 319.3 kB / 1.164 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.9843, allocations: 122.5 kB / 1.164 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/0.9877, allocations: 1.517 MB / 1.166 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.9877, allocations: 8 kB / 1.166 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9877, allocations: 4 kB / 1.166 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.9877, allocations: 3.984 kB / 1.166 GB, free: 3.113 MB / 0.92 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.005548/0.9933, allocations: 2.842 MB / 1.169 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.9933, allocations: 4 kB / 1.169 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000988/0.9943, allocations: 199.9 kB / 1.169 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005667/0.9949, allocations: 84.77 kB / 1.169 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.995, allocations: 35.98 kB / 1.169 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.997, allocations: 1.552 MB / 1.171 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.997, allocations: 4 kB / 1.171 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003899/1.001, allocations: 1.868 MB / 1.172 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/1.002, allocations: 347.3 kB / 1.173 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/1.002, allocations: 31.88 kB / 1.173 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.003, allocations: 79.86 kB / 1.173 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.003, allocations: 92.88 kB / 1.173 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.004, allocations: 47.97 kB / 1.173 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001145/1.005, allocations: 0.6222 MB / 1.174 GB, free: 11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.005, allocations: 4 kB / 1.174 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001512/1.006, allocations: 443.1 kB / 1.174 GB, free: 10.56 MB / 0.9356 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.001957/1.008, allocations: 0.7134 MB / 1.175 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002589/1.011, allocations: 1.089 MB / 1.176 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.011, allocations: 0 / 1.176 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/1.012, allocations: 0.6606 MB / 1.176 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/1.015, allocations: 499.1 kB / 1.177 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/1.021, allocations: 3.073 MB / 1.18 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/1.022, allocations: 1.162 MB / 1.181 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/1.023, allocations: 151.4 kB / 1.181 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of SimCode: time 1.142e-06/1.023, allocations: 0 / 1.181 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of Templates: time 0.04026/1.063, allocations: 26.68 MB / 1.207 GB, free: 8.758 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches