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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008017/0.008017, allocations: 106.9 kB / 15.74 MB, free: 6.449 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.00165/0.00165, allocations: 197.1 kB / 16.67 MB, free: 6.352 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.559/1.559, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 75.83 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3522, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.9503/1.303, allocations: 177 MB / 1.393 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01754/1.32, allocations: 10.93 MB / 1.404 GB, free: 2.293 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/1.322, allocations: 35.84 kB / 1.404 GB, free: 2.277 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/1.324, allocations: 421.3 kB / 1.405 GB, free: 1.914 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004437/1.328, allocations: 1.116 MB / 1.406 GB, free: 1.062 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005657/1.334, allocations: 1.736 MB / 1.407 GB, free: 15.76 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004543/1.338, allocations: 2.381 MB / 1.41 GB, free: 14.33 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/1.341, allocations: 1.145 MB / 1.411 GB, free: 13.51 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/1.345, allocations: 1.297 MB / 1.412 GB, free: 12.74 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/1.347, allocations: 0.8098 MB / 1.413 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005539/1.347, allocations: 154.9 kB / 1.413 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/1.351, allocations: 1.419 MB / 1.414 GB, free: 11.49 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000673/1.352, allocations: 448.6 kB / 1.415 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/1.353, allocations: 0.7827 MB / 1.416 GB, free: 10.6 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006064/1.359, allocations: 2.601 MB / 1.418 GB, free: 8.824 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.359, allocations: 0 / 1.418 GB, free: 8.824 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.272e-06/1.359, allocations: 0 / 1.418 GB, free: 8.824 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001074/1.359, allocations: 2.5 kB / 1.418 GB, free: 8.824 MB / 1.107 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.005457/1.365, allocations: 1.94 MB / 1.42 GB, free: 7.332 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.365, allocations: 7.531 kB / 1.42 GB, free: 7.332 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/1.367, allocations: 361.2 kB / 1.42 GB, free: 7.164 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002219/1.37, allocations: 0.9903 MB / 1.421 GB, free: 6.387 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.37, allocations: 86.7 kB / 1.421 GB, free: 6.348 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/1.37, allocations: 111.7 kB / 1.422 GB, free: 6.312 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/1.373, allocations: 1.307 MB / 1.423 GB, free: 5.48 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/1.373, allocations: 0 / 1.423 GB, free: 5.48 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/1.373, allocations: 48.69 kB / 1.423 GB, free: 5.445 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/1.373, allocations: 28.62 kB / 1.423 GB, free: 5.445 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/1.375, allocations: 1.45 MB / 1.424 GB, free: 4.523 MB / 1.107 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.006927/1.382, allocations: 4.05 MB / 1.428 GB, free: 272 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/1.385, allocations: 1.156 MB / 1.429 GB, free: 15.08 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/1.385, allocations: 414.5 kB / 1.43 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/1.386, allocations: 429.2 kB / 1.43 GB, free: 14.19 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/1.387, allocations: 0.6644 MB / 1.431 GB, free: 13.5 MB / 1.123 GB Notification: Performance of pre-optimization done (n=106): time 2.795e-06/1.387, allocations: 3.938 kB / 1.431 GB, free: 13.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=106): time 0.004165/1.391, allocations: 1.61 MB / 1.432 GB, free: 11.87 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.391, allocations: 196.9 kB / 1.433 GB, free: 11.63 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/1.393, allocations: 0.8747 MB / 1.433 GB, free: 10.73 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/1.393, allocations: 49.7 kB / 1.433 GB, free: 10.68 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/1.393, allocations: 0.5168 MB / 1.434 GB, free: 10.16 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/1.394, allocations: 376.8 kB / 1.434 GB, free: 9.785 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/1.394, allocations: 214.9 kB / 1.435 GB, free: 9.566 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.394, allocations: 341.9 kB / 1.435 GB, free: 9.227 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007476/1.395, allocations: 382.4 kB / 1.435 GB, free: 8.855 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008838/1.396, allocations: 0.5046 MB / 1.436 GB, free: 8.32 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.397, allocations: 0.8757 MB / 1.437 GB, free: 7.426 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.397, allocations: 0 / 1.437 GB, free: 7.426 MB / 1.123 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002695/1.4, allocations: 1.165 MB / 1.438 GB, free: 6.25 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.4, allocations: 6.312 kB / 1.438 GB, free: 6.246 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.4, allocations: 8 kB / 1.438 GB, free: 6.238 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/1.401, allocations: 80.77 kB / 1.438 GB, free: 6.156 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.402, allocations: 235.7 kB / 1.438 GB, free: 5.926 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/1.404, allocations: 1.647 MB / 1.44 GB, free: 4.137 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.405, allocations: 131.2 kB / 1.44 GB, free: 4.008 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/1.405, allocations: 47.97 kB / 1.44 GB, free: 3.961 MB / 1.123 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.0006606/1.406, allocations: 327.3 kB / 1.44 GB, free: 3.633 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/1.406, allocations: 123.2 kB / 1.44 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/1.409, allocations: 1.497 MB / 1.442 GB, free: 2 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.409, allocations: 12 kB / 1.442 GB, free: 1.988 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.409, allocations: 0 / 1.442 GB, free: 1.988 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.409, allocations: 7.984 kB / 1.442 GB, free: 1.98 MB / 1.123 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.005404/1.415, allocations: 2.843 MB / 1.445 GB, free: 15.03 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.415, allocations: 8.031 kB / 1.445 GB, free: 15.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/1.416, allocations: 203.7 kB / 1.445 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/1.416, allocations: 76.78 kB / 1.445 GB, free: 14.74 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.549e-05/1.416, allocations: 31.98 kB / 1.445 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/1.418, allocations: 1.677 MB / 1.446 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.418, allocations: 0.5469 kB / 1.446 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/1.422, allocations: 1.878 MB / 1.448 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006753/1.423, allocations: 344 kB / 1.449 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/1.423, allocations: 28 kB / 1.449 GB, free: 10.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.424, allocations: 71.92 kB / 1.449 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.424, allocations: 96.75 kB / 1.449 GB, free: 10.43 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.425, allocations: 47.97 kB / 1.449 GB, free: 10.38 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001147/1.426, allocations: 0.6261 MB / 1.449 GB, free: 9.746 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/1.426, allocations: 0 / 1.449 GB, free: 9.746 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001492/1.427, allocations: 466.9 kB / 1.45 GB, free: 9.289 MB / 1.139 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.00187/1.429, allocations: 0.7123 MB / 1.451 GB, free: 8.754 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002396/1.431, allocations: 1.05 MB / 1.452 GB, free: 7.691 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.431, allocations: 0 / 1.452 GB, free: 7.691 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.433, allocations: 0.6294 MB / 1.452 GB, free: 7.051 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/1.435, allocations: 0.5269 MB / 1.453 GB, free: 6.551 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/1.44, allocations: 2.421 MB / 1.455 GB, free: 4.078 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009332/1.441, allocations: 1.158 MB / 1.456 GB, free: 2.887 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001381/1.442, allocations: 369.7 kB / 1.457 GB, free: 2.523 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/1.443, allocations: 135.4 kB / 1.457 GB, free: 2.391 MB / 1.139 GB Notification: Performance of SimCode: time 1.022e-06/1.443, allocations: 4 kB / 1.457 GB, free: 2.387 MB / 1.139 GB Notification: Performance of Templates: time 0.04443/1.487, allocations: 24.14 MB / 1.48 GB, free: 10.55 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) 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) Reference file matches