Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007927/0.007927, allocations: 104.3 kB / 15.74 MB, free: 5.598 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.00209/0.00209, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.665/2.665, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8553, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1902/1.046, allocations: 176.5 MB / 1.38 GB, free: 12.44 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01514/1.061, allocations: 10.91 MB / 1.391 GB, free: 1.496 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/1.062, allocations: 31.81 kB / 1.391 GB, free: 1.465 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/1.063, allocations: 416.7 kB / 1.391 GB, free: 1.055 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003199/1.066, allocations: 1.092 MB / 1.392 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/1.071, allocations: 1.712 MB / 1.394 GB, free: 14.25 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002992/1.074, allocations: 2.381 MB / 1.396 GB, free: 11.87 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/1.076, allocations: 1.409 MB / 1.398 GB, free: 10.42 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/1.079, allocations: 1.28 MB / 1.399 GB, free: 9.152 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/1.08, allocations: 0.8013 MB / 1.4 GB, free: 8.348 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/1.08, allocations: 152 kB / 1.4 GB, free: 8.199 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/1.083, allocations: 1.411 MB / 1.401 GB, free: 6.785 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003905/1.083, allocations: 458.6 kB / 1.402 GB, free: 6.336 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007534/1.084, allocations: 0.7814 MB / 1.402 GB, free: 5.551 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003289/1.087, allocations: 2.582 MB / 1.405 GB, free: 2.961 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.087, allocations: 4 kB / 1.405 GB, free: 2.957 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.204e-06/1.087, allocations: 4 kB / 1.405 GB, free: 2.953 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.666e-05/1.087, allocations: 0 / 1.405 GB, free: 2.953 MB / 1.123 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.003306/1.09, allocations: 1.888 MB / 1.407 GB, free: 1.008 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.09, allocations: 8.031 kB / 1.407 GB, free: 1 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/1.093, allocations: 357.8 kB / 1.407 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/1.094, allocations: 0.9798 MB / 1.408 GB, free: 15.62 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/1.094, allocations: 86.33 kB / 1.408 GB, free: 15.54 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/1.095, allocations: 116 kB / 1.408 GB, free: 15.42 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/1.097, allocations: 1.294 MB / 1.41 GB, free: 14.06 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.097, allocations: 0 / 1.41 GB, free: 14.06 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/1.097, allocations: 55.92 kB / 1.41 GB, free: 14.01 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/1.097, allocations: 35.94 kB / 1.41 GB, free: 13.97 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/1.099, allocations: 1.449 MB / 1.411 GB, free: 12.52 MB / 1.139 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.00605/1.106, allocations: 4.026 MB / 1.415 GB, free: 8.285 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/1.108, allocations: 1.219 MB / 1.416 GB, free: 7.043 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/1.108, allocations: 451.6 kB / 1.417 GB, free: 6.602 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007301/1.109, allocations: 425.5 kB / 1.417 GB, free: 6.113 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/1.11, allocations: 0.6566 MB / 1.418 GB, free: 5.434 MB / 1.139 GB Notification: Performance of pre-optimization done (n=106): time 2.555e-06/1.11, allocations: 0 / 1.418 GB, free: 5.434 MB / 1.139 GB Notification: Performance of matching and sorting (n=106): time 0.004078/1.114, allocations: 1.61 MB / 1.419 GB, free: 3.801 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.115, allocations: 196.9 kB / 1.419 GB, free: 3.562 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.116, allocations: 0.8785 MB / 1.42 GB, free: 2.66 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.38e-05/1.116, allocations: 45.7 kB / 1.42 GB, free: 2.609 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/1.116, allocations: 0.5083 MB / 1.421 GB, free: 2.094 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/1.117, allocations: 354.9 kB / 1.421 GB, free: 1.742 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/1.117, allocations: 214.7 kB / 1.421 GB, free: 1.523 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.117, allocations: 361.7 kB / 1.422 GB, free: 1.164 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/1.118, allocations: 378.4 kB / 1.422 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008903/1.119, allocations: 0.5046 MB / 1.423 GB, free: 272 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/1.12, allocations: 0.8681 MB / 1.423 GB, free: 15.38 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.12, allocations: 0 / 1.423 GB, free: 15.38 MB / 1.154 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002606/1.123, allocations: 1.168 MB / 1.425 GB, free: 14.2 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.123, allocations: 8 kB / 1.425 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.123, allocations: 0 / 1.425 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/1.124, allocations: 84.86 kB / 1.425 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.125, allocations: 231.7 kB / 1.425 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/1.127, allocations: 1.642 MB / 1.426 GB, free: 12.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.128, allocations: 133.5 kB / 1.427 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.128, allocations: 47.97 kB / 1.427 GB, free: 11.92 MB / 1.154 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.0006262/1.129, allocations: 331.2 kB / 1.427 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/1.129, allocations: 122.5 kB / 1.427 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/1.132, allocations: 1.497 MB / 1.428 GB, free: 9.945 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.132, allocations: 8 kB / 1.428 GB, free: 9.938 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.132, allocations: 0 / 1.428 GB, free: 9.938 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.132, allocations: 19.91 kB / 1.429 GB, free: 9.918 MB / 1.154 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.004823/1.137, allocations: 2.827 MB / 1.431 GB, free: 6.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.137, allocations: 0 / 1.431 GB, free: 6.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008935/1.138, allocations: 203.9 kB / 1.431 GB, free: 6.781 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/1.139, allocations: 72.78 kB / 1.432 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/1.139, allocations: 35.97 kB / 1.432 GB, free: 6.672 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/1.141, allocations: 1.681 MB / 1.433 GB, free: 4.844 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.141, allocations: 3.938 kB / 1.433 GB, free: 4.84 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/1.144, allocations: 1.862 MB / 1.435 GB, free: 2.941 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006095/1.145, allocations: 347.2 kB / 1.435 GB, free: 2.582 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/1.145, allocations: 24 kB / 1.435 GB, free: 2.559 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000916/1.146, allocations: 71.92 kB / 1.435 GB, free: 2.488 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/1.146, allocations: 96.81 kB / 1.436 GB, free: 2.391 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.452e-05/1.146, allocations: 47.97 kB / 1.436 GB, free: 2.344 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008449/1.147, allocations: 0.6183 MB / 1.436 GB, free: 1.715 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.9e-07/1.147, allocations: 4 kB / 1.436 GB, free: 1.711 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001157/1.148, allocations: 467 kB / 1.437 GB, free: 1.254 MB / 1.154 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.001553/1.15, allocations: 0.7062 MB / 1.437 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002311/1.152, allocations: 1.101 MB / 1.438 GB, free: 15.61 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.152, allocations: 0 / 1.438 GB, free: 15.61 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/1.153, allocations: 0.6684 MB / 1.439 GB, free: 14.93 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.156, allocations: 0.5206 MB / 1.44 GB, free: 14.44 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/1.16, allocations: 2.373 MB / 1.442 GB, free: 12.02 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/1.161, allocations: 1.163 MB / 1.443 GB, free: 10.83 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001173/1.162, allocations: 369.8 kB / 1.443 GB, free: 10.46 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/1.162, allocations: 139.4 kB / 1.444 GB, free: 10.33 MB / 1.17 GB Notification: Performance of SimCode: time 4.21e-07/1.162, allocations: 0 / 1.444 GB, free: 10.33 MB / 1.17 GB Notification: Performance of Templates: time 0.04079/1.203, allocations: 24.45 MB / 1.467 GB, free: 2.172 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches