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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.006886/0.006886, allocations: 100.4 kB / 15.87 MB, free: 6.305 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.001366/0.001366, allocations: 199 kB / 16.79 MB, free: 6.238 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6828/0.6843, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1876/0.8719, allocations: 172.9 MB / 1.118 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.8918, allocations: 15.58 MB / 1.134 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.8935, allocations: 31.81 kB / 1.134 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.8954, allocations: 497.1 kB / 1.134 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004201/0.8996, allocations: 1.349 MB / 1.135 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004288/0.9039, allocations: 1.482 MB / 1.137 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003975/0.9079, allocations: 3.172 MB / 1.14 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.9104, allocations: 1.742 MB / 1.142 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004768/0.9151, allocations: 1.211 MB / 1.143 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.9174, allocations: 1.007 MB / 1.144 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009409/0.9183, allocations: 104 kB / 1.144 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004086/0.9224, allocations: 1.396 MB / 1.145 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.9235, allocations: 486.2 kB / 1.146 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.9253, allocations: 0.9169 MB / 1.147 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.9287, allocations: 2.191 MB / 1.149 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9287, allocations: 4 kB / 1.149 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9287, allocations: 0 / 1.149 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001002/0.9288, allocations: 0 / 1.149 GB, free: 5.359 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.005771/0.9346, allocations: 2.28 MB / 1.151 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.9346, allocations: 8.031 kB / 1.151 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/0.9381, allocations: 457.2 kB / 1.151 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.9404, allocations: 1.109 MB / 1.153 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.9405, allocations: 123.2 kB / 1.153 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.9409, allocations: 160 kB / 1.153 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004014/0.9449, allocations: 1.776 MB / 1.155 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.9449, allocations: 8 kB / 1.155 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.9452, allocations: 72 kB / 1.155 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/0.9452, allocations: 44 kB / 1.155 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.9487, allocations: 1.764 MB / 1.156 GB, free: 13.38 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.009941/0.9586, allocations: 5.86 MB / 1.162 GB, free: 7.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.9616, allocations: 1.565 MB / 1.164 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.9628, allocations: 0.5671 MB / 1.164 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009529/0.9638, allocations: 0.8827 MB / 1.165 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/0.9654, allocations: 0.7988 MB / 1.166 GB, free: 3.156 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 4.158e-06/0.9654, allocations: 4 kB / 1.166 GB, free: 3.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=126): time 0.005216/0.9707, allocations: 1.891 MB / 1.168 GB, free: 1.238 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.9708, allocations: 192.9 kB / 1.168 GB, free: 1.008 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.9726, allocations: 0.9833 MB / 1.169 GB, free: 8 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.9728, allocations: 53.7 kB / 1.169 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006747/0.9735, allocations: 0.6644 MB / 1.17 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/0.9739, allocations: 417.9 kB / 1.17 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.9744, allocations: 226.7 kB / 1.17 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9745, allocations: 353.9 kB / 1.171 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.9756, allocations: 458.2 kB / 1.171 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.9768, allocations: 0.6019 MB / 1.172 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.979, allocations: 1.031 MB / 1.173 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.979, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003495/0.9825, allocations: 1.351 MB / 1.174 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.9826, allocations: 4 kB / 1.174 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.9826, allocations: 4 kB / 1.174 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/0.9833, allocations: 96.91 kB / 1.174 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.9846, allocations: 291.6 kB / 1.174 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.9868, allocations: 1.535 MB / 1.176 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.9883, allocations: 162.9 kB / 1.176 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.9885, allocations: 51.95 kB / 1.176 GB, free: 8.5 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.0009321/0.9894, allocations: 379.5 kB / 1.176 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.99, allocations: 138.4 kB / 1.176 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/0.9939, allocations: 1.61 MB / 1.178 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.9939, allocations: 16 kB / 1.178 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9939, allocations: 0 / 1.178 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.9939, allocations: 3.984 kB / 1.178 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006152/1, allocations: 3.157 MB / 1.181 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1, allocations: 0 / 1.181 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/1.001, allocations: 267.6 kB / 1.181 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005685/1.002, allocations: 92.77 kB / 1.181 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/1.002, allocations: 35.97 kB / 1.181 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/1.004, allocations: 1.563 MB / 1.183 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.004, allocations: 4.031 kB / 1.183 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/1.009, allocations: 2.173 MB / 1.185 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009297/1.01, allocations: 398.9 kB / 1.186 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003798/1.01, allocations: 28 kB / 1.186 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.011, allocations: 117.6 kB / 1.186 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/1.012, allocations: 89.19 kB / 1.186 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/1.012, allocations: 63.95 kB / 1.186 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001161/1.013, allocations: 0.68 MB / 1.186 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.51e-07/1.013, allocations: 0 / 1.186 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00178/1.015, allocations: 0.5453 MB / 1.187 GB, free: 12.9 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.001916/1.017, allocations: 0.7021 MB / 1.188 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002864/1.02, allocations: 1.283 MB / 1.189 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.02, allocations: 448 / 1.189 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/1.021, allocations: 0.7597 MB / 1.19 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/1.024, allocations: 0.5112 MB / 1.19 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007316/1.031, allocations: 3.762 MB / 1.194 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.032, allocations: 1.299 MB / 1.195 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006743/1.033, allocations: 175.3 kB / 1.195 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of SimCode: time 1.132e-06/1.033, allocations: 0 / 1.195 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.04796/1.081, allocations: 31.55 MB / 1.226 GB, free: 5.098 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/jenkins1/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