Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 182.8 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008865/0.0008866, allocations: 95.22 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.000364, allocations: 9 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2292, allocations: 106.3 MB / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.668/5.898, allocations: 2.22 GB / 3.12 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/5.898, allocations: 91.22 kB / 3.12 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.38/7.278, allocations: 385 MB / 3.496 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.278e-06/7.278, allocations: 2.094 kB / 3.496 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001851/7.278, allocations: 40.09 kB / 3.496 GB, free: 213.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005319/7.284, allocations: 1.655 MB / 3.497 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/7.284, allocations: 6.312 kB / 3.497 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/7.286, allocations: 349.9 kB / 3.498 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/7.29, allocations: 1.122 MB / 3.499 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.755e-05/7.29, allocations: 85.22 kB / 3.499 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/7.29, allocations: 108.9 kB / 3.499 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/7.293, allocations: 1.216 MB / 3.5 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/7.293, allocations: 0 / 3.5 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/7.293, allocations: 49.72 kB / 3.5 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/7.293, allocations: 27.25 kB / 3.5 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/7.296, allocations: 1.389 MB / 3.502 GB, free: 212.7 MB / 0.8855 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.007706/7.304, allocations: 3.748 MB / 3.505 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/7.306, allocations: 1.161 MB / 3.506 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006633/7.306, allocations: 424 kB / 3.507 GB, free: 211 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009984/7.307, allocations: 0.5918 MB / 3.507 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 3.116e-06/7.307, allocations: 0 / 3.507 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.003785/7.311, allocations: 1.519 MB / 3.509 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/7.311, allocations: 245.3 kB / 3.509 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/7.313, allocations: 0.7859 MB / 3.51 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/7.313, allocations: 46.27 kB / 3.51 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/7.313, allocations: 496.6 kB / 3.51 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/7.313, allocations: 336.1 kB / 3.511 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/7.313, allocations: 17 kB / 3.511 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/7.314, allocations: 348 kB / 3.511 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/7.314, allocations: 339.2 kB / 3.511 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000812/7.315, allocations: 491.2 kB / 3.512 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/7.316, allocations: 405.5 kB / 3.512 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/7.316, allocations: 3.281 kB / 3.512 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00238/7.318, allocations: 1.047 MB / 3.513 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/7.318, allocations: 5.375 kB / 3.513 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/7.318, allocations: 3.969 kB / 3.513 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006831/7.319, allocations: 85.59 kB / 3.513 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/7.32, allocations: 215.5 kB / 3.514 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/7.322, allocations: 1.553 MB / 3.515 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/7.323, allocations: 118.9 kB / 3.515 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/7.323, allocations: 40.92 kB / 3.515 GB, free: 208 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000732/7.324, allocations: 309.6 kB / 3.516 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/7.324, allocations: 109.4 kB / 3.516 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/7.328, allocations: 1.44 MB / 3.517 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/7.328, allocations: 10.41 kB / 3.517 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/7.328, allocations: 2.5 kB / 3.517 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/7.328, allocations: 7.406 kB / 3.517 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/7.333, allocations: 2.683 MB / 3.52 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/7.333, allocations: 0 / 3.52 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008701/7.334, allocations: 196 kB / 3.52 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/7.334, allocations: 91.8 kB / 3.52 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/7.334, allocations: 29.84 kB / 3.52 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/7.336, allocations: 1.575 MB / 3.522 GB, free: 206 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/7.336, allocations: 7.422 kB / 3.522 GB, free: 206 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/7.339, allocations: 1.829 MB / 3.523 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008063/7.34, allocations: 358.5 kB / 3.524 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/7.341, allocations: 26.52 kB / 3.524 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/7.342, allocations: 94.62 kB / 3.524 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/7.342, allocations: 75.92 kB / 3.524 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.702e-05/7.342, allocations: 49.11 kB / 3.524 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001184/7.343, allocations: 0.6395 MB / 3.525 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/7.343, allocations: 0 / 3.525 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0023/7.345, allocations: 0.5563 MB / 3.525 GB, free: 205.2 MB / 0.8855 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003933/7.349, allocations: 1.855 MB / 3.527 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002282/7.352, allocations: 0.9953 MB / 3.528 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/7.352, allocations: 448 / 3.528 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/7.353, allocations: 0.625 MB / 3.528 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/7.356, allocations: 466.7 kB / 3.529 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007224/7.363, allocations: 2.999 MB / 3.532 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/7.364, allocations: 1.165 MB / 3.533 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001948/7.366, allocations: 361.1 kB / 3.533 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005031/7.367, allocations: 123.5 kB / 3.533 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.373e-06/7.367, allocations: 0 / 3.533 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.05635/7.423, allocations: 37.28 MB / 3.57 GB, free: 201.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches