Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_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_latest_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_latest_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.0012/0.0012, allocations: 97.91 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.001382/0.001382, 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.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.542/2.542, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 12 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.564/0.5643, allocations: 153.6 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1541/0.7185, allocations: 146.5 MB / 1.164 GB, free: 14.21 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.735, allocations: 13.05 MB / 1.177 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.7361, allocations: 27.81 kB / 1.177 GB, free: 1.117 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.7373, allocations: 370 kB / 1.177 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.7416, allocations: 1.381 MB / 1.178 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.7445, allocations: 1.053 MB / 1.179 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002642/0.7472, allocations: 1.642 MB / 1.181 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.749, allocations: 1.416 MB / 1.182 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.7508, allocations: 0.9964 MB / 1.183 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000829/0.7516, allocations: 0.6432 MB / 1.184 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.7518, allocations: 52 kB / 1.184 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.7538, allocations: 0.8386 MB / 1.185 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003534/0.7541, allocations: 374.6 kB / 1.185 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.7545, allocations: 348.7 kB / 1.186 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.7568, allocations: 2.104 MB / 1.188 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.7568, allocations: 0 / 1.188 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7568, allocations: 0 / 1.188 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.115e-05/0.7569, allocations: 0 / 1.188 GB, free: 5.875 MB / 0.9356 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.003388/0.7603, allocations: 1.924 MB / 1.189 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.7603, allocations: 15.98 kB / 1.189 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/0.7634, allocations: 485.1 kB / 1.19 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.7652, allocations: 1.047 MB / 1.191 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.7653, allocations: 123.2 kB / 1.191 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.7655, allocations: 152 kB / 1.191 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.7684, allocations: 1.761 MB / 1.193 GB, free: 200 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/0.7685, allocations: 7.938 kB / 1.193 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.7686, allocations: 71.95 kB / 1.193 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.7687, allocations: 48 kB / 1.193 GB, free: 72 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.7717, allocations: 1.764 MB / 1.195 GB, free: 14.3 MB / 0.9512 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.008731/0.7805, allocations: 5.885 MB / 1.201 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.7831, allocations: 1.378 MB / 1.202 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.7837, allocations: 0.6256 MB / 1.202 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/0.7851, allocations: 0.7894 MB / 1.203 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=126): time 3.056e-06/0.7851, allocations: 3.938 kB / 1.203 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126): time 0.004878/0.79, allocations: 1.884 MB / 1.205 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.7902, allocations: 196.9 kB / 1.205 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.7915, allocations: 0.9796 MB / 1.206 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.7917, allocations: 53.69 kB / 1.206 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000574/0.7922, allocations: 0.6646 MB / 1.207 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.7926, allocations: 413.9 kB / 1.207 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.7927, allocations: 24 kB / 1.207 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7928, allocations: 349.9 kB / 1.208 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008489/0.7937, allocations: 426.4 kB / 1.208 GB, free: 112 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009677/0.7947, allocations: 0.5819 MB / 1.209 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009303/0.7956, allocations: 0.4904 MB / 1.209 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.7956, allocations: 4 kB / 1.209 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002783/0.7984, allocations: 1.293 MB / 1.21 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7985, allocations: 4 kB / 1.21 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.7985, allocations: 4 kB / 1.21 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.7991, allocations: 88.89 kB / 1.211 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.8004, allocations: 283.6 kB / 1.211 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.8024, allocations: 1.548 MB / 1.212 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.8038, allocations: 170.8 kB / 1.212 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.851e-05/0.8039, allocations: 43.97 kB / 1.212 GB, free: 11.41 MB / 0.9669 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.000753/0.8047, allocations: 377.6 kB / 1.213 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.8049, allocations: 134.4 kB / 1.213 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/0.8083, allocations: 1.613 MB / 1.215 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.8083, allocations: 16 kB / 1.215 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8083, allocations: 4 kB / 1.215 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.8084, allocations: 7.969 kB / 1.215 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004879/0.8132, allocations: 2.991 MB / 1.218 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8133, allocations: 0 / 1.218 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.8146, allocations: 283.8 kB / 1.218 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005151/0.8151, allocations: 88.78 kB / 1.218 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/0.8152, allocations: 35.97 kB / 1.218 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.817, allocations: 1.575 MB / 1.219 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.817, allocations: 0 / 1.219 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/0.8213, allocations: 2.295 MB / 1.222 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008457/0.8222, allocations: 410.9 kB / 1.222 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.8224, allocations: 32 kB / 1.222 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.8236, allocations: 139.3 kB / 1.222 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.8238, allocations: 97.12 kB / 1.222 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.8239, allocations: 63.95 kB / 1.222 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009089/0.8249, allocations: 0.6763 MB / 1.223 GB, free: 268 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8249, allocations: 0 / 1.223 GB, free: 268 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001452/0.8263, allocations: 0.5258 MB / 1.224 GB, free: 15.73 MB / 0.9825 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.001503/0.8278, allocations: 0.7117 MB / 1.224 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.8303, allocations: 1.228 MB / 1.225 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.8304, allocations: 8.5 kB / 1.225 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.8318, allocations: 0.7755 MB / 1.226 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.8341, allocations: 0.4949 MB / 1.227 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006397/0.8405, allocations: 3.769 MB / 1.23 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/0.8414, allocations: 1.334 MB / 1.232 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001724/0.8431, allocations: 430.8 kB / 1.232 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.8435, allocations: 155.3 kB / 1.232 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/0.8435, allocations: 3.938 kB / 1.232 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of Templates: time 0.4761/1.32, allocations: 24.25 MB / 1.256 GB, free: 227.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches