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.001618/0.001618, allocations: 104.9 kB / 16.37 MB, free: 6.469 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.001895/0.001895, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.22 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.283, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6559/0.939, allocations: 176.2 MB / 1.199 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02018/0.9592, allocations: 15.66 MB / 1.214 GB, free: 9.852 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.9609, allocations: 32.12 kB / 1.214 GB, free: 9.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.9626, allocations: 0.6079 MB / 1.215 GB, free: 9.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.9674, allocations: 1.581 MB / 1.216 GB, free: 8.109 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.9718, allocations: 1.674 MB / 1.218 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004147/0.976, allocations: 2.912 MB / 1.221 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.9785, allocations: 1.841 MB / 1.222 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.9818, allocations: 1.382 MB / 1.224 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.9831, allocations: 1.052 MB / 1.225 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002894/0.9834, allocations: 200.7 kB / 1.225 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.986, allocations: 1.338 MB / 1.226 GB, free: 1.008 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.9865, allocations: 0.5686 MB / 1.227 GB, free: 448 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009941/0.9875, allocations: 1.03 MB / 1.228 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.991, allocations: 3.014 MB / 1.231 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9911, allocations: 0 / 1.231 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9911, allocations: 0 / 1.231 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.921e-05/0.9911, allocations: 0 / 1.231 GB, free: 12.38 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.003959/0.9951, allocations: 2.31 MB / 1.233 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.9951, allocations: 12.03 kB / 1.233 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.9983, allocations: 461.1 kB / 1.234 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/1, allocations: 1.136 MB / 1.235 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.681e-05/1, allocations: 123.2 kB / 1.235 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/1.001, allocations: 152 kB / 1.235 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/1.004, allocations: 1.784 MB / 1.237 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/1.004, allocations: 7.938 kB / 1.237 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.004, allocations: 68 kB / 1.237 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/1.004, allocations: 55.92 kB / 1.237 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/1.007, allocations: 1.764 MB / 1.239 GB, free: 4.328 MB / 0.9356 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.008204/1.015, allocations: 6.138 MB / 1.245 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/1.018, allocations: 1.575 MB / 1.246 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009754/1.019, allocations: 0.5543 MB / 1.247 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008856/1.02, allocations: 0.8867 MB / 1.247 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/1.021, allocations: 0.7972 MB / 1.248 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=126): time 2.886e-06/1.021, allocations: 3.938 kB / 1.248 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126): time 0.004746/1.026, allocations: 1.891 MB / 1.25 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/1.026, allocations: 192.9 kB / 1.25 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/1.027, allocations: 0.9795 MB / 1.251 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.027, allocations: 57.7 kB / 1.251 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/1.028, allocations: 0.6605 MB / 1.252 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/1.028, allocations: 417.9 kB / 1.252 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/1.028, allocations: 234.8 kB / 1.253 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.029, allocations: 345.9 kB / 1.253 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009228/1.03, allocations: 450.4 kB / 1.253 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/1.031, allocations: 0.598 MB / 1.254 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/1.032, allocations: 1.035 MB / 1.255 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/1.033, allocations: 0 / 1.255 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002994/1.036, allocations: 1.355 MB / 1.256 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/1.036, allocations: 8 kB / 1.256 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.036, allocations: 3.938 kB / 1.256 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/1.036, allocations: 88.92 kB / 1.256 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.038, allocations: 287.6 kB / 1.257 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/1.04, allocations: 1.665 MB / 1.258 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/1.041, allocations: 135 kB / 1.258 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.041, allocations: 51.95 kB / 1.258 GB, free: 14.99 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: 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.0006904/1.042, allocations: 380.1 kB / 1.259 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/1.042, allocations: 138.3 kB / 1.259 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003456/1.045, allocations: 1.602 MB / 1.26 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.046, allocations: 12 kB / 1.26 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.046, allocations: 4 kB / 1.261 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.046, allocations: 7.969 kB / 1.261 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/1.051, allocations: 3.159 MB / 1.264 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/1.051, allocations: 0 / 1.264 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.052, allocations: 267.7 kB / 1.264 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004354/1.053, allocations: 80.66 kB / 1.264 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.892e-05/1.053, allocations: 43.97 kB / 1.264 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/1.055, allocations: 1.666 MB / 1.266 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.055, allocations: 3.984 kB / 1.266 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/1.059, allocations: 2.182 MB / 1.268 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007505/1.059, allocations: 399 kB / 1.268 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/1.06, allocations: 31.94 kB / 1.268 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.061, allocations: 88.16 kB / 1.268 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/1.061, allocations: 97.23 kB / 1.268 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/1.061, allocations: 63.95 kB / 1.268 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008966/1.062, allocations: 0.6838 MB / 1.269 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.062, allocations: 0 / 1.269 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001297/1.063, allocations: 0.5493 MB / 1.27 GB, free: 3.281 MB / 0.9669 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.001568/1.065, allocations: 0.7097 MB / 1.27 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002545/1.067, allocations: 1.275 MB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.067, allocations: 8.875 kB / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/1.069, allocations: 0.7557 MB / 1.272 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.071, allocations: 0.5697 MB / 1.273 GB, free: 148 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/1.076, allocations: 2.853 MB / 1.276 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008454/1.077, allocations: 1.311 MB / 1.277 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001447/1.078, allocations: 438.7 kB / 1.277 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/1.079, allocations: 151.4 kB / 1.277 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/1.079, allocations: 3.938 kB / 1.277 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.04301/1.122, allocations: 26.86 MB / 1.304 GB, free: 0.8086 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 -s gbode -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/jenkins1/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