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.00112/0.00112, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00138/0.00138, allocations: 172.7 kB / 15.95 MB, free: 208 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.776/2.776, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 12.84 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2602, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1631/0.4233, allocations: 160 MB / 1.214 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01803/0.4414, allocations: 14.51 MB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.4427, allocations: 27.81 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.444, allocations: 425 kB / 1.229 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003369/0.4474, allocations: 1.236 MB / 1.23 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.4507, allocations: 1.258 MB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003186/0.4539, allocations: 2.94 MB / 1.234 GB, free: 464 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.4558, allocations: 1.35 MB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.4576, allocations: 1.043 MB / 1.237 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.4586, allocations: 0.8282 MB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.4588, allocations: 48 kB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.4607, allocations: 0.8384 MB / 1.238 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.4611, allocations: 390.4 kB / 1.239 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003684/0.4615, allocations: 368.7 kB / 1.239 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.4637, allocations: 2.159 MB / 1.241 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4637, allocations: 0 / 1.241 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4637, allocations: 0 / 1.241 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.062e-05/0.4637, allocations: 0 / 1.241 GB, free: 9.395 MB / 0.9981 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.003351/0.4671, allocations: 1.944 MB / 1.243 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4671, allocations: 12.03 kB / 1.243 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/0.4701, allocations: 477.1 kB / 1.243 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.4717, allocations: 1.059 MB / 1.244 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/0.4718, allocations: 123.2 kB / 1.245 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.472, allocations: 156 kB / 1.245 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/0.475, allocations: 1.78 MB / 1.246 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.475, allocations: 0 / 1.246 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.4752, allocations: 68 kB / 1.246 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/0.4752, allocations: 44 kB / 1.247 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/0.4784, allocations: 1.772 MB / 1.248 GB, free: 1.785 MB / 0.9981 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.4924/0.9707, allocations: 6.195 MB / 1.254 GB, free: 187 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.9733, allocations: 1.563 MB / 1.256 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000878/0.9742, allocations: 0.5614 MB / 1.256 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/0.9748, allocations: 0.8843 MB / 1.257 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.9761, allocations: 0.7968 MB / 1.258 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 3.196e-06/0.9761, allocations: 0 / 1.258 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.004273/0.9804, allocations: 1.887 MB / 1.26 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.9804, allocations: 200.1 kB / 1.26 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.9816, allocations: 0.9735 MB / 1.261 GB, free: 185 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.9817, allocations: 55.55 kB / 1.261 GB, free: 185 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.9822, allocations: 0.6626 MB / 1.262 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.9825, allocations: 416.2 kB / 1.262 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.9826, allocations: 23.34 kB / 1.262 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.9827, allocations: 360.6 kB / 1.262 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008513/0.9835, allocations: 441.9 kB / 1.263 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009148/0.9844, allocations: 0.602 MB / 1.263 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/0.9853, allocations: 0.5017 MB / 1.264 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.9853, allocations: 2.281 kB / 1.264 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002598/0.9879, allocations: 1.355 MB / 1.265 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.988, allocations: 6.188 kB / 1.265 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.988, allocations: 0.6562 kB / 1.265 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005313/0.9885, allocations: 85.27 kB / 1.265 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.9898, allocations: 297.6 kB / 1.266 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.9915, allocations: 1.542 MB / 1.267 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.9928, allocations: 180.7 kB / 1.267 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.9929, allocations: 57.42 kB / 1.267 GB, free: 182.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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.0006901/0.9936, allocations: 375.9 kB / 1.268 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.9938, allocations: 135.5 kB / 1.268 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004222/0.9981, allocations: 1.618 MB / 1.269 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.9981, allocations: 16.83 kB / 1.269 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9981, allocations: 0.6562 kB / 1.269 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.9982, allocations: 6.984 kB / 1.269 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006221/1.004, allocations: 3.165 MB / 1.273 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.004, allocations: 1.625 kB / 1.273 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.006, allocations: 271.3 kB / 1.273 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/1.006, allocations: 84.28 kB / 1.273 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/1.007, allocations: 37.78 kB / 1.273 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/1.008, allocations: 1.571 MB / 1.274 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.008, allocations: 1.016 kB / 1.274 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/1.013, allocations: 2.171 MB / 1.277 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007618/1.014, allocations: 415.4 kB / 1.277 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/1.014, allocations: 23.41 kB / 1.277 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.015, allocations: 143.3 kB / 1.277 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/1.015, allocations: 94.86 kB / 1.277 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.015, allocations: 65.52 kB / 1.277 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001008/1.016, allocations: 0.6709 MB / 1.278 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.016, allocations: 0 / 1.278 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001559/1.018, allocations: 0.5535 MB / 1.279 GB, free: 179 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.00161/1.019, allocations: 0.7049 MB / 1.279 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002558/1.022, allocations: 1.272 MB / 1.28 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.022, allocations: 1.844 kB / 1.28 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/1.023, allocations: 0.7633 MB / 1.281 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/1.026, allocations: 0.5316 MB / 1.282 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/1.031, allocations: 3.567 MB / 1.285 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/1.032, allocations: 1.309 MB / 1.286 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001878/1.034, allocations: 441.7 kB / 1.287 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/1.034, allocations: 153.8 kB / 1.287 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.034, allocations: 1 kB / 1.287 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03522/1.069, allocations: 24.9 MB / 1.311 GB, free: 158.7 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches