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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 387.1 MB / 399.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 180.9 kB / 492.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 221.3 MB / 0.7871 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008749/0.0008748, allocations: 91.94 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.397e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2783, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/5.621, allocations: 1.907 GB / 3.12 GB, free: 423.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/5.621, allocations: 83.95 kB / 3.12 GB, free: 423 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7383/6.36, allocations: 399 MB / 3.509 GB, free: 16.45 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/6.36, allocations: 0 / 3.509 GB, free: 16.45 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001023/6.36, allocations: 35.94 kB / 3.509 GB, free: 16.41 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.00294/6.363, allocations: 1.522 MB / 3.511 GB, free: 14.84 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/6.363, allocations: 8.031 kB / 3.511 GB, free: 14.83 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/6.365, allocations: 349.9 kB / 3.511 GB, free: 14.48 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/6.367, allocations: 1.118 MB / 3.512 GB, free: 13.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/6.367, allocations: 86.23 kB / 3.512 GB, free: 13.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/6.367, allocations: 108 kB / 3.512 GB, free: 13.13 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/6.369, allocations: 1.181 MB / 3.514 GB, free: 11.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/6.369, allocations: 4 kB / 3.514 GB, free: 11.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/6.369, allocations: 47.94 kB / 3.514 GB, free: 11.83 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/6.369, allocations: 32 kB / 3.514 GB, free: 11.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/6.371, allocations: 1.339 MB / 3.515 GB, free: 10.45 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005049/6.376, allocations: 3.704 MB / 3.519 GB, free: 6.602 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/6.378, allocations: 1.117 MB / 3.52 GB, free: 5.465 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/6.378, allocations: 406.8 kB / 3.52 GB, free: 5.066 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/6.379, allocations: 425.1 kB / 3.52 GB, free: 4.578 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007441/6.379, allocations: 0.5559 MB / 3.521 GB, free: 4.004 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 2.835e-06/6.379, allocations: 0 / 3.521 GB, free: 4.004 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.002077/6.381, allocations: 0.976 MB / 3.522 GB, free: 3.016 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/6.382, allocations: 240.1 kB / 3.522 GB, free: 2.727 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/6.383, allocations: 0.7937 MB / 3.523 GB, free: 1.906 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.2e-05/6.383, allocations: 41.7 kB / 3.523 GB, free: 1.859 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/6.383, allocations: 0.5003 MB / 3.523 GB, free: 1.352 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/6.383, allocations: 327.2 kB / 3.524 GB, free: 1.027 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/6.383, allocations: 16 kB / 3.524 GB, free: 1.012 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001221/6.383, allocations: 338 kB / 3.524 GB, free: 0.6758 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/6.384, allocations: 309.9 kB / 3.524 GB, free: 384 kB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8208/7.205, allocations: 461.3 kB / 3.525 GB, free: 285.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/7.206, allocations: 379.8 kB / 3.525 GB, free: 285.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/7.206, allocations: 2.312 kB / 3.525 GB, free: 285.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00287/7.209, allocations: 1 MB / 3.526 GB, free: 285.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/7.209, allocations: 8.016 kB / 3.526 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/7.209, allocations: 4.594 kB / 3.526 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/7.21, allocations: 86.25 kB / 3.526 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/7.211, allocations: 204.3 kB / 3.527 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/7.213, allocations: 1.529 MB / 3.528 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/7.214, allocations: 128.5 kB / 3.528 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/7.214, allocations: 34.33 kB / 3.528 GB, free: 284.5 MB / 1.151 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 () * 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.0002825/7.214, allocations: 161.7 kB / 3.528 GB, free: 284.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/7.215, allocations: 111.8 kB / 3.528 GB, free: 284.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/7.218, allocations: 1.39 MB / 3.53 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/7.218, allocations: 14.02 kB / 3.53 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/7.218, allocations: 3.719 kB / 3.53 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/7.218, allocations: 5.578 kB / 3.53 GB, free: 284.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/7.224, allocations: 2.62 MB / 3.532 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/7.224, allocations: 5.156 kB / 3.532 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009381/7.224, allocations: 195 kB / 3.533 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005339/7.225, allocations: 90.83 kB / 3.533 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/7.225, allocations: 33.34 kB / 3.533 GB, free: 283.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/7.227, allocations: 1.56 MB / 3.534 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/7.227, allocations: 1.469 kB / 3.534 GB, free: 282.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/7.231, allocations: 1.748 MB / 3.536 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009607/7.232, allocations: 368.2 kB / 3.536 GB, free: 281.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/7.232, allocations: 20.75 kB / 3.536 GB, free: 281.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008903/7.233, allocations: 90.47 kB / 3.536 GB, free: 281.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/7.233, allocations: 69.69 kB / 3.536 GB, free: 281.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/7.233, allocations: 46.7 kB / 3.536 GB, free: 281.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00139/7.234, allocations: 0.6381 MB / 3.537 GB, free: 281.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.11e-07/7.234, allocations: 0 / 3.537 GB, free: 281.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003407/7.238, allocations: 0.5828 MB / 3.538 GB, free: 281.8 MB / 1.151 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) * 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.004662/7.243, allocations: 1.87 MB / 3.539 GB, free: 281.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002574/7.245, allocations: 0.948 MB / 3.54 GB, free: 281.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/7.245, allocations: 1.094 kB / 3.54 GB, free: 281.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/7.246, allocations: 0.5972 MB / 3.541 GB, free: 281.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003355/7.25, allocations: 460.3 kB / 3.541 GB, free: 281.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/7.255, allocations: 1.952 MB / 3.543 GB, free: 280.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/7.256, allocations: 1.161 MB / 3.544 GB, free: 280 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001968/7.258, allocations: 367.7 kB / 3.545 GB, free: 280 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/7.259, allocations: 127.2 kB / 3.545 GB, free: 280 MB / 1.151 GB Notification: Performance of SimCode: time 1.553e-06/7.259, allocations: 3.469 kB / 3.545 GB, free: 280 MB / 1.151 GB Notification: Performance of Templates: time 0.088/7.347, allocations: 41.2 MB / 3.585 GB, free: 279.1 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches