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.001746/0.001746, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 196.4 kB / 16.53 MB, free: 6.391 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.258 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.724/2.724, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 71.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6538/0.6557, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2238/0.8796, allocations: 176.2 MB / 1.189 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02328/0.9029, allocations: 15.66 MB / 1.205 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.9051, allocations: 31.81 kB / 1.205 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.9071, allocations: 0.6089 MB / 1.205 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.9123, allocations: 1.569 MB / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005296/0.9176, allocations: 1.668 MB / 1.208 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005047/0.9227, allocations: 2.887 MB / 1.211 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002965/0.9257, allocations: 1.852 MB / 1.213 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.9298, allocations: 1.376 MB / 1.214 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.9317, allocations: 1.046 MB / 1.215 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003638/0.9321, allocations: 200 kB / 1.216 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.9351, allocations: 1.31 MB / 1.217 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006322/0.9357, allocations: 0.5648 MB / 1.217 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.9369, allocations: 1.03 MB / 1.218 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004355/0.9413, allocations: 2.956 MB / 1.221 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.9413, allocations: 4 kB / 1.221 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9413, allocations: 0 / 1.221 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.063e-05/0.9414, allocations: 0 / 1.221 GB, free: 0.7578 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.004353/0.9457, allocations: 2.302 MB / 1.224 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.9458, allocations: 8.031 kB / 1.224 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.9489, allocations: 465.2 kB / 1.224 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.9507, allocations: 1.101 MB / 1.225 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.9509, allocations: 119.2 kB / 1.225 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.9511, allocations: 164 kB / 1.225 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/0.9543, allocations: 1.792 MB / 1.227 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.9544, allocations: 7.938 kB / 1.227 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.9545, allocations: 71.98 kB / 1.227 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.9546, allocations: 44 kB / 1.227 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/0.9579, allocations: 1.772 MB / 1.229 GB, free: 8.734 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.009194/0.9671, allocations: 6.211 MB / 1.235 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.9701, allocations: 1.553 MB / 1.237 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.9712, allocations: 0.5621 MB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009808/0.9722, allocations: 0.8905 MB / 1.238 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.9737, allocations: 0.7934 MB / 1.239 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 2.785e-06/0.9737, allocations: 0 / 1.239 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126): time 0.004983/0.9787, allocations: 1.887 MB / 1.241 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.9789, allocations: 196.9 kB / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.9803, allocations: 0.9873 MB / 1.242 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.9804, allocations: 49.7 kB / 1.242 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/0.981, allocations: 0.6604 MB / 1.242 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/0.9814, allocations: 417.9 kB / 1.243 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/0.9819, allocations: 234.8 kB / 1.243 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.982, allocations: 345.9 kB / 1.243 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.983, allocations: 450.4 kB / 1.244 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.9842, allocations: 0.6019 MB / 1.244 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.9864, allocations: 1.031 MB / 1.245 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.9864, allocations: 0 / 1.245 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003335/0.9897, allocations: 1.355 MB / 1.247 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.9898, allocations: 8 kB / 1.247 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.9898, allocations: 8.094 kB / 1.247 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.9904, allocations: 88.72 kB / 1.247 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.9918, allocations: 287.6 kB / 1.247 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.9942, allocations: 1.661 MB / 1.249 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.9956, allocations: 135 kB / 1.249 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.9957, allocations: 47.97 kB / 1.249 GB, free: 3.348 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.0008418/0.9965, allocations: 379.3 kB / 1.249 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.9968, allocations: 138.3 kB / 1.249 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003698/1.001, allocations: 1.614 MB / 1.251 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/1.001, allocations: 12 kB / 1.251 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.001, allocations: 0 / 1.251 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.001, allocations: 7.969 kB / 1.251 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5499/1.551, allocations: 3.157 MB / 1.254 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.551, allocations: 4.562 kB / 1.254 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/1.552, allocations: 269.3 kB / 1.254 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/1.552, allocations: 78.58 kB / 1.254 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.724e-05/1.552, allocations: 36.25 kB / 1.254 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/1.554, allocations: 1.673 MB / 1.256 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.554, allocations: 0 / 1.256 GB, free: 230 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004567/1.559, allocations: 2.178 MB / 1.258 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/1.56, allocations: 395.3 kB / 1.259 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/1.56, allocations: 32.88 kB / 1.259 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.561, allocations: 83.41 kB / 1.259 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/1.561, allocations: 93.52 kB / 1.259 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.561, allocations: 61.09 kB / 1.259 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001039/1.562, allocations: 0.6835 MB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.562, allocations: 3.094 kB / 1.26 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001571/1.564, allocations: 0.5545 MB / 1.26 GB, free: 228.5 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.002129/1.566, allocations: 0.7091 MB / 1.261 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005609/1.572, allocations: 1.703 MB / 1.262 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.572, allocations: 2.125 kB / 1.262 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.574, allocations: 0.7599 MB / 1.263 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/1.577, allocations: 0.5768 MB / 1.264 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/1.582, allocations: 2.888 MB / 1.267 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008965/1.583, allocations: 1.305 MB / 1.268 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00184/1.585, allocations: 432.6 kB / 1.268 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/1.586, allocations: 150.9 kB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.586, allocations: 7.938 kB / 1.268 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03948/1.625, allocations: 26.9 MB / 1.295 GB, free: 209 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