Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009692/0.0009692, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 0.6653 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003202, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.7883, allocations: 142.3 MB / 0.9535 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1698/0.9581, allocations: 146.5 MB / 1.097 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01675/0.9749, allocations: 13.05 MB / 1.109 GB, free: 148 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.9763, allocations: 27.81 kB / 1.109 GB, free: 120 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.9775, allocations: 373.9 kB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.9815, allocations: 1.382 MB / 1.111 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.9844, allocations: 1.057 MB / 1.112 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002525/0.987, allocations: 1.646 MB / 1.114 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.9887, allocations: 1.408 MB / 1.115 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.9905, allocations: 0.9965 MB / 1.116 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008254/0.9913, allocations: 0.6491 MB / 1.117 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.9914, allocations: 48 kB / 1.117 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.9934, allocations: 0.827 MB / 1.118 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.9938, allocations: 374.6 kB / 1.118 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.9941, allocations: 348.8 kB / 1.118 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.9963, allocations: 2.108 MB / 1.12 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.9963, allocations: 4 kB / 1.12 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9963, allocations: 0 / 1.12 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.9964, allocations: 0 / 1.12 GB, free: 4.871 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003405/0.9998, allocations: 1.92 MB / 1.122 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.9998, allocations: 11.97 kB / 1.122 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/1.003, allocations: 477.2 kB / 1.123 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/1.004, allocations: 1.059 MB / 1.124 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.15e-05/1.005, allocations: 115.2 kB / 1.124 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/1.005, allocations: 160 kB / 1.124 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/1.008, allocations: 1.767 MB / 1.126 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/1.008, allocations: 3.938 kB / 1.126 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.008, allocations: 68 kB / 1.126 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-05/1.008, allocations: 44 kB / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/1.011, allocations: 1.776 MB / 1.127 GB, free: 13.3 MB / 0.8887 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.007956/1.019, allocations: 5.864 MB / 1.133 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/1.021, allocations: 1.386 MB / 1.135 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000567/1.022, allocations: 0.6178 MB / 1.135 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/1.023, allocations: 0.7971 MB / 1.136 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=126): time 3.005e-06/1.023, allocations: 0 / 1.136 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126): time 0.004396/1.028, allocations: 1.88 MB / 1.138 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/1.028, allocations: 200.8 kB / 1.138 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.029, allocations: 0.9797 MB / 1.139 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/1.029, allocations: 53.7 kB / 1.139 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/1.03, allocations: 0.6568 MB / 1.14 GB, free: 332 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/1.03, allocations: 418.1 kB / 1.14 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/1.03, allocations: 20 kB / 1.14 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.03, allocations: 361.9 kB / 1.14 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/1.031, allocations: 418.4 kB / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009357/1.032, allocations: 0.5897 MB / 1.141 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/1.033, allocations: 498.3 kB / 1.142 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.033, allocations: 3.781 kB / 1.142 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002726/1.036, allocations: 1.293 MB / 1.143 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.036, allocations: 4 kB / 1.143 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.036, allocations: 4 kB / 1.143 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/1.036, allocations: 92.86 kB / 1.143 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.038, allocations: 287.6 kB / 1.143 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/1.04, allocations: 1.545 MB / 1.145 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.041, allocations: 178.8 kB / 1.145 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.905e-05/1.041, allocations: 43.97 kB / 1.145 GB, free: 10.41 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * 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.0007789/1.042, allocations: 377.4 kB / 1.146 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/1.042, allocations: 134.4 kB / 1.146 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/1.046, allocations: 1.621 MB / 1.147 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.046, allocations: 16 kB / 1.147 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.046, allocations: 0 / 1.147 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.046, allocations: 7.969 kB / 1.147 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004674/1.05, allocations: 2.983 MB / 1.15 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.05, allocations: 4 kB / 1.15 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.052, allocations: 275.8 kB / 1.15 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/1.052, allocations: 96.7 kB / 1.151 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.104e-05/1.052, allocations: 40.02 kB / 1.151 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/1.054, allocations: 1.583 MB / 1.152 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.054, allocations: 4 kB / 1.152 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.058, allocations: 2.283 MB / 1.154 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007811/1.059, allocations: 410.9 kB / 1.155 GB, free: 272 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.059, allocations: 31.98 kB / 1.155 GB, free: 240 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.06, allocations: 137.4 kB / 1.155 GB, free: 104 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/1.06, allocations: 101.1 kB / 1.155 GB, free: 4 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.061, allocations: 63.95 kB / 1.155 GB, free: 15.94 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009027/1.061, allocations: 0.6763 MB / 1.156 GB, free: 15.26 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.91e-07/1.061, allocations: 0 / 1.156 GB, free: 15.26 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001363/1.063, allocations: 0.5181 MB / 1.156 GB, free: 14.74 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001525/1.064, allocations: 0.7095 MB / 1.157 GB, free: 14.21 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002445/1.067, allocations: 1.244 MB / 1.158 GB, free: 12.95 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/1.067, allocations: 4.375 kB / 1.158 GB, free: 12.95 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/1.068, allocations: 0.7795 MB / 1.159 GB, free: 12.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.07, allocations: 497.1 kB / 1.159 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/1.077, allocations: 3.763 MB / 1.163 GB, free: 7.867 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/1.078, allocations: 1.338 MB / 1.164 GB, free: 6.496 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001749/1.08, allocations: 442.7 kB / 1.165 GB, free: 6.059 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/1.08, allocations: 147.4 kB / 1.165 GB, free: 5.914 MB / 0.92 GB Notification: Performance of SimCode: time 1.142e-06/1.08, allocations: 0 / 1.165 GB, free: 5.914 MB / 0.92 GB Notification: Performance of Templates: time 0.04449/1.124, allocations: 24.26 MB / 1.189 GB, free: 13.97 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches