Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001742/0.001747, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001984/0.001984, allocations: 188.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.784/2.784, allocations: 437 MB / 0.7101 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001995, allocations: 67.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.6282, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2101/0.8383, allocations: 173.8 MB / 1.187 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02257/0.861, allocations: 15.48 MB / 1.202 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.8628, allocations: 27.81 kB / 1.202 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.8647, allocations: 0.5243 MB / 1.202 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.8697, allocations: 1.439 MB / 1.204 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005062/0.8748, allocations: 1.523 MB / 1.205 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004949/0.8798, allocations: 2.906 MB / 1.208 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002989/0.8828, allocations: 1.828 MB / 1.21 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005514/0.8883, allocations: 1.386 MB / 1.211 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.8902, allocations: 1.089 MB / 1.212 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004057/0.8906, allocations: 196 kB / 1.212 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.8934, allocations: 1.349 MB / 1.214 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006032/0.8941, allocations: 0.5647 MB / 1.214 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.8954, allocations: 1.042 MB / 1.215 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004436/0.8998, allocations: 3.018 MB / 1.218 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.8998, allocations: 4 kB / 1.218 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.577e-06/0.8998, allocations: 0 / 1.218 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.089e-05/0.8999, allocations: 3.938 kB / 1.218 GB, free: 3.805 MB / 0.9669 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.004671/0.9046, allocations: 2.302 MB / 1.22 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9046, allocations: 12.02 kB / 1.22 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003353/0.908, allocations: 461.1 kB / 1.221 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.9102, allocations: 1.097 MB / 1.222 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.9103, allocations: 119.2 kB / 1.222 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.9106, allocations: 160 kB / 1.222 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/0.9142, allocations: 1.784 MB / 1.224 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.9142, allocations: 7.938 kB / 1.224 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.9144, allocations: 68 kB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/0.9145, allocations: 44 kB / 1.224 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/0.918, allocations: 1.772 MB / 1.226 GB, free: 11.8 MB / 0.9825 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.01045/0.9284, allocations: 6.196 MB / 1.232 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.9315, allocations: 1.547 MB / 1.233 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.9327, allocations: 0.566 MB / 1.234 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.9338, allocations: 0.8828 MB / 1.235 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.9355, allocations: 0.7933 MB / 1.236 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=126): time 3.016e-06/0.9355, allocations: 4 kB / 1.236 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126): time 0.005407/0.9409, allocations: 1.887 MB / 1.237 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.9411, allocations: 196.9 kB / 1.238 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.9427, allocations: 0.9834 MB / 1.239 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.9429, allocations: 49.7 kB / 1.239 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006825/0.9436, allocations: 0.6643 MB / 1.239 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004401/0.944, allocations: 417.9 kB / 1.24 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004042/0.9444, allocations: 230.8 kB / 1.24 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.9446, allocations: 349.9 kB / 1.24 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.9456, allocations: 450.4 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.9468, allocations: 0.5942 MB / 1.241 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.949, allocations: 1.038 MB / 1.242 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.949, allocations: 7.938 kB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003382/0.9524, allocations: 1.355 MB / 1.244 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.9524, allocations: 13.03 kB / 1.244 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.9524, allocations: 3.984 kB / 1.244 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006497/0.9531, allocations: 88.92 kB / 1.244 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.9545, allocations: 287.6 kB / 1.244 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.9575, allocations: 1.661 MB / 1.246 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.9593, allocations: 166.9 kB / 1.246 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.9594, allocations: 47.97 kB / 1.246 GB, free: 6.395 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009146/0.9604, allocations: 387.4 kB / 1.246 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/0.9607, allocations: 138.3 kB / 1.246 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.9645, allocations: 1.614 MB / 1.248 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.9645, allocations: 16 kB / 1.248 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9646, allocations: 0 / 1.248 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.9646, allocations: 7.969 kB / 1.248 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006108/0.9707, allocations: 3.157 MB / 1.251 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.9707, allocations: 4 kB / 1.251 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.9721, allocations: 271.6 kB / 1.251 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004784/0.9726, allocations: 76.78 kB / 1.251 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.9727, allocations: 39.97 kB / 1.251 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5583/1.531, allocations: 1.67 MB / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.531, allocations: 0 / 1.253 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004688/1.536, allocations: 2.184 MB / 1.255 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007206/1.536, allocations: 394.3 kB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/1.537, allocations: 24.28 kB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.538, allocations: 123.5 kB / 1.256 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/1.538, allocations: 100.4 kB / 1.256 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.538, allocations: 62.5 kB / 1.256 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001043/1.539, allocations: 0.681 MB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/1.539, allocations: 0 / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001596/1.541, allocations: 0.5466 MB / 1.257 GB, free: 229.8 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002277/1.543, allocations: 0.7118 MB / 1.258 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004627/1.548, allocations: 1.698 MB / 1.259 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.548, allocations: 2.281 kB / 1.259 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/1.549, allocations: 0.7646 MB / 1.26 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.552, allocations: 0.5623 MB / 1.261 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/1.558, allocations: 3.595 MB / 1.264 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.559, allocations: 1.31 MB / 1.265 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001962/1.561, allocations: 441 kB / 1.266 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/1.562, allocations: 151.3 kB / 1.266 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.562, allocations: 4 kB / 1.266 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04532/1.607, allocations: 26.74 MB / 1.292 GB, free: 211.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches