Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001238/0.001238, allocations: 108 kB / 15.61 MB, free: 152 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.001511/0.001511, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.2 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6815/0.6828, allocations: 140.3 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2099/0.8927, allocations: 175.2 MB / 1.121 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.9121, allocations: 15.54 MB / 1.136 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.9137, allocations: 31.81 kB / 1.136 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.9155, allocations: 0.578 MB / 1.136 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00481/0.9203, allocations: 1.488 MB / 1.138 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004521/0.9249, allocations: 1.661 MB / 1.14 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00357/0.9285, allocations: 2.728 MB / 1.142 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.9311, allocations: 1.906 MB / 1.144 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.9348, allocations: 1.358 MB / 1.145 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.936, allocations: 1.019 MB / 1.146 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.9363, allocations: 200 kB / 1.147 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.939, allocations: 1.31 MB / 1.148 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004994/0.9395, allocations: 0.5647 MB / 1.148 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.9406, allocations: 0.9989 MB / 1.149 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00422/0.9449, allocations: 2.902 MB / 1.152 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9449, allocations: 0 / 1.152 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.186e-06/0.9449, allocations: 0 / 1.152 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.085e-05/0.945, allocations: 3.938 kB / 1.152 GB, free: 1.668 MB / 0.9044 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.004104/0.9491, allocations: 2.271 MB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9491, allocations: 12.03 kB / 1.154 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003203/0.9523, allocations: 465.2 kB / 1.155 GB, free: 14.86 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.9542, allocations: 1.101 MB / 1.156 GB, free: 13.72 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.9543, allocations: 123.2 kB / 1.156 GB, free: 13.6 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.9545, allocations: 155.9 kB / 1.156 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.9576, allocations: 1.784 MB / 1.158 GB, free: 11.58 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.9576, allocations: 0 / 1.158 GB, free: 11.58 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.9578, allocations: 68 kB / 1.158 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.9579, allocations: 48 kB / 1.158 GB, free: 11.47 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/0.961, allocations: 1.772 MB / 1.16 GB, free: 9.691 MB / 0.92 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.008661/0.9697, allocations: 5.883 MB / 1.166 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.9725, allocations: 1.564 MB / 1.167 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.9735, allocations: 0.5621 MB / 1.168 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009215/0.9745, allocations: 0.8828 MB / 1.168 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/0.9759, allocations: 0.8088 MB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 3.136e-06/0.9759, allocations: 0 / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126): time 0.004972/0.9809, allocations: 1.883 MB / 1.171 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.981, allocations: 192.9 kB / 1.171 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.9823, allocations: 0.9872 MB / 1.172 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.9825, allocations: 53.7 kB / 1.172 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005463/0.983, allocations: 0.6605 MB / 1.173 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.9834, allocations: 421.9 kB / 1.173 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.9838, allocations: 230.7 kB / 1.174 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9839, allocations: 353.9 kB / 1.174 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009773/0.9849, allocations: 446.4 kB / 1.174 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.9861, allocations: 0.5942 MB / 1.175 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.9881, allocations: 1.042 MB / 1.176 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9882, allocations: 0 / 1.176 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003143/0.9913, allocations: 1.355 MB / 1.177 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.9914, allocations: 9.719 kB / 1.177 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.9914, allocations: 0 / 1.177 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.992, allocations: 84.94 kB / 1.177 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.9934, allocations: 299.6 kB / 1.178 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.9955, allocations: 1.646 MB / 1.179 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.9968, allocations: 138.8 kB / 1.179 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-05/0.9969, allocations: 47.97 kB / 1.179 GB, free: 4.691 MB / 0.9356 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.0007003/0.9976, allocations: 391.7 kB / 1.18 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.9979, allocations: 134.4 kB / 1.18 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/1.002, allocations: 1.614 MB / 1.181 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/1.002, allocations: 16 kB / 1.181 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/1.002, allocations: 0 / 1.181 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.002, allocations: 7.969 kB / 1.182 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005271/1.007, allocations: 3.157 MB / 1.185 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.007, allocations: 0 / 1.185 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.008, allocations: 271.6 kB / 1.185 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/1.009, allocations: 80.78 kB / 1.185 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-05/1.009, allocations: 35.97 kB / 1.185 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/1.011, allocations: 1.67 MB / 1.187 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.011, allocations: 0 / 1.187 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004292/1.015, allocations: 2.176 MB / 1.189 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006502/1.016, allocations: 398.9 kB / 1.189 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/1.016, allocations: 31.98 kB / 1.189 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.017, allocations: 86.5 kB / 1.189 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/1.017, allocations: 93.23 kB / 1.189 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.017, allocations: 67.95 kB / 1.189 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009766/1.018, allocations: 0.6917 MB / 1.19 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 0 / 1.19 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001312/1.02, allocations: 0.522 MB / 1.191 GB, free: 9.004 MB / 0.9512 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.00156/1.021, allocations: 0.7114 MB / 1.191 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004301/1.026, allocations: 1.697 MB / 1.193 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.026, allocations: 448 / 1.193 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.027, allocations: 0.7635 MB / 1.194 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/1.029, allocations: 0.5567 MB / 1.194 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/1.036, allocations: 2.996 MB / 1.197 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008724/1.037, allocations: 1.311 MB / 1.198 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00185/1.038, allocations: 434.7 kB / 1.199 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/1.039, allocations: 151.4 kB / 1.199 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of SimCode: time 8.22e-07/1.039, allocations: 0 / 1.199 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.04285/1.082, allocations: 26.2 MB / 1.225 GB, free: 6.641 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches