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.001443/0.001449, allocations: 108 kB / 15.6 MB, free: 132 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.001746/0.001746, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.588/2.588, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 55.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.698/0.6992, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1823/0.8816, allocations: 176.5 MB / 1.19 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.8956, allocations: 10.91 MB / 1.2 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000998/0.8966, allocations: 31.81 kB / 1.2 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.8977, allocations: 408.7 kB / 1.201 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.9005, allocations: 1.097 MB / 1.202 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.9043, allocations: 1.708 MB / 1.203 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002588/0.9069, allocations: 2.357 MB / 1.206 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.9086, allocations: 1.408 MB / 1.207 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/0.9117, allocations: 1.264 MB / 1.208 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.9127, allocations: 0.8065 MB / 1.209 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002257/0.913, allocations: 156 kB / 1.209 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.9157, allocations: 1.38 MB / 1.211 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.9162, allocations: 458.6 kB / 1.211 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008187/0.917, allocations: 0.7814 MB / 1.212 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.9204, allocations: 2.528 MB / 1.214 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9204, allocations: 0 / 1.214 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9204, allocations: 0 / 1.214 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.9204, allocations: 3.938 kB / 1.214 GB, free: 7.945 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.003285/0.9237, allocations: 1.888 MB / 1.216 GB, free: 6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.9238, allocations: 12.02 kB / 1.216 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.9259, allocations: 341.9 kB / 1.217 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.9274, allocations: 0.9563 MB / 1.217 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.9275, allocations: 94.33 kB / 1.218 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.9277, allocations: 112 kB / 1.218 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.9298, allocations: 1.298 MB / 1.219 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.9299, allocations: 0 / 1.219 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.93, allocations: 52 kB / 1.219 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.9301, allocations: 32 kB / 1.219 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.9325, allocations: 1.441 MB / 1.22 GB, free: 1.551 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.005922/0.9384, allocations: 4.08 MB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.9406, allocations: 1.221 MB / 1.226 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.9414, allocations: 448.8 kB / 1.226 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007292/0.9421, allocations: 425.3 kB / 1.226 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.9433, allocations: 0.6606 MB / 1.227 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 2.594e-06/0.9433, allocations: 0 / 1.227 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.004055/0.9473, allocations: 1.61 MB / 1.229 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.9475, allocations: 192.9 kB / 1.229 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.9486, allocations: 0.8785 MB / 1.23 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.702e-05/0.9487, allocations: 45.7 kB / 1.23 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/0.9491, allocations: 0.516 MB / 1.23 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.9494, allocations: 358.9 kB / 1.231 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.9497, allocations: 210.8 kB / 1.231 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.9499, allocations: 345.9 kB / 1.231 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.9507, allocations: 382.4 kB / 1.231 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/0.9516, allocations: 0.5124 MB / 1.232 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.9532, allocations: 0.8602 MB / 1.233 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.9532, allocations: 3.984 kB / 1.233 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00252/0.9557, allocations: 1.165 MB / 1.234 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.9557, allocations: 4 kB / 1.234 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.9557, allocations: 4 kB / 1.234 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/0.9563, allocations: 92.78 kB / 1.234 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009962/0.9573, allocations: 231.7 kB / 1.234 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.9594, allocations: 1.66 MB / 1.236 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/0.9604, allocations: 127 kB / 1.236 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.9605, allocations: 47.97 kB / 1.236 GB, free: 0.8828 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.0005476/0.9611, allocations: 323.3 kB / 1.236 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.9614, allocations: 122.5 kB / 1.236 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.9645, allocations: 1.501 MB / 1.238 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.9645, allocations: 15.98 kB / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.9645, allocations: 0 / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.9646, allocations: 3.984 kB / 1.238 GB, free: 14.89 MB / 0.9981 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.004881/0.9694, allocations: 2.838 MB / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.9695, allocations: 4 kB / 1.241 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009043/0.9704, allocations: 195.8 kB / 1.241 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.9709, allocations: 80.91 kB / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.882e-05/0.971, allocations: 27.98 kB / 1.241 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.9728, allocations: 1.674 MB / 1.243 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9729, allocations: 4.031 kB / 1.243 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.9765, allocations: 1.864 MB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.9772, allocations: 351.1 kB / 1.245 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.9774, allocations: 24 kB / 1.245 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009368/0.9783, allocations: 71.98 kB / 1.245 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.9785, allocations: 100.8 kB / 1.245 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.612e-05/0.9786, allocations: 43.97 kB / 1.245 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009055/0.9795, allocations: 0.6261 MB / 1.246 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.9796, allocations: 0 / 1.246 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001194/0.9808, allocations: 463.1 kB / 1.246 GB, free: 6.23 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.001642/0.9824, allocations: 0.7095 MB / 1.247 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00319/0.9856, allocations: 1.37 MB / 1.248 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9856, allocations: 3.938 kB / 1.248 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.9869, allocations: 0.6568 MB / 1.249 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.9892, allocations: 0.5311 MB / 1.249 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.9933, allocations: 2.408 MB / 1.252 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4491/1.442, allocations: 1.158 MB / 1.253 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001668/1.444, allocations: 364.8 kB / 1.253 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/1.445, allocations: 137.1 kB / 1.253 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.445, allocations: 1.781 kB / 1.253 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04764/1.492, allocations: 23.84 MB / 1.277 GB, free: 223.5 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=480 -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