Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001475/0.001475, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 11.98 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.5869, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2027/0.7897, allocations: 201.5 MB / 1.219 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008672/0.7984, allocations: 5.398 MB / 1.224 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.7996, allocations: 39.75 kB / 1.224 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.801, allocations: 401.5 kB / 1.225 GB, free: 176 kB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003765/0.8047, allocations: 1.368 MB / 1.226 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.8073, allocations: 0.8665 MB / 1.227 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004012/0.8114, allocations: 3.437 MB / 1.23 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.8127, allocations: 0.7307 MB / 1.231 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.8146, allocations: 0.8907 MB / 1.232 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.8162, allocations: 0.8834 MB / 1.233 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.8164, allocations: 40 kB / 1.233 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.8185, allocations: 0.7015 MB / 1.234 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000539/0.8191, allocations: 386.8 kB / 1.234 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.8195, allocations: 257.1 kB / 1.234 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.8214, allocations: 1.473 MB / 1.236 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.8214, allocations: 3.984 kB / 1.236 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8214, allocations: 0 / 1.236 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.644e-05/0.8215, allocations: 4 kB / 1.236 GB, free: 5.109 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002363/0.8238, allocations: 1.285 MB / 1.237 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.8239, allocations: 8.031 kB / 1.237 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.826, allocations: 322.2 kB / 1.237 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.8274, allocations: 0.7972 MB / 1.238 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.8274, allocations: 70 kB / 1.238 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.8276, allocations: 84 kB / 1.238 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.8293, allocations: 0.9092 MB / 1.239 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.8293, allocations: 0 / 1.239 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.063e-05/0.8294, allocations: 36 kB / 1.239 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.8295, allocations: 30 kB / 1.239 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.831, allocations: 0.8432 MB / 1.24 GB, free: 0.6328 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.4935/1.325, allocations: 3.545 MB / 1.243 GB, free: 217.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/1.325, allocations: 0.4898 MB / 1.244 GB, free: 217.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/1.326, allocations: 297.6 kB / 1.244 GB, free: 217.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/1.326, allocations: 101 kB / 1.244 GB, free: 217 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/1.326, allocations: 46.92 kB / 1.244 GB, free: 217 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/1.326, allocations: 0.6562 kB / 1.244 GB, free: 217 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.003814/1.33, allocations: 1.897 MB / 1.246 GB, free: 215.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/1.33, allocations: 61.47 kB / 1.246 GB, free: 215.9 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.331, allocations: 0.8013 MB / 1.247 GB, free: 215.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/1.331, allocations: 41.8 kB / 1.247 GB, free: 215.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/1.331, allocations: 479.7 kB / 1.247 GB, free: 215.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.332, allocations: 174.6 kB / 1.248 GB, free: 215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/1.332, allocations: 10.78 kB / 1.248 GB, free: 215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/1.332, allocations: 331.1 kB / 1.248 GB, free: 214.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/1.332, allocations: 253.8 kB / 1.248 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/1.333, allocations: 379.7 kB / 1.249 GB, free: 214.4 MB / 0.9825 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/1.336, allocations: 0.9982 MB / 1.25 GB, free: 214 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.336, allocations: 1.719 kB / 1.25 GB, free: 214 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001428/1.337, allocations: 0.8005 MB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.337, allocations: 6 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.337, allocations: 6.25 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/1.337, allocations: 69.69 kB / 1.25 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/1.338, allocations: 157.4 kB / 1.251 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/1.34, allocations: 2.889 MB / 1.253 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/1.341, allocations: 70.98 kB / 1.253 GB, free: 210.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/1.341, allocations: 23.34 kB / 1.253 GB, free: 210.9 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004733/1.341, allocations: 302.9 kB / 1.254 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.342, allocations: 89.34 kB / 1.254 GB, free: 210.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/1.342, allocations: 103.8 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.342, allocations: 5.438 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.342, allocations: 0.7969 kB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/1.343, allocations: 0.851 MB / 1.255 GB, free: 210 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/1.347, allocations: 1.799 MB / 1.256 GB, free: 209.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.347, allocations: 2.562 kB / 1.257 GB, free: 209.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/1.347, allocations: 146 kB / 1.257 GB, free: 209.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.213e-05/1.347, allocations: 39.64 kB / 1.257 GB, free: 209.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/1.347, allocations: 11.78 kB / 1.257 GB, free: 209.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009017/1.348, allocations: 1.473 MB / 1.258 GB, free: 207.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.348, allocations: 11.53 kB / 1.258 GB, free: 207.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/1.35, allocations: 1.085 MB / 1.259 GB, free: 207.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/1.35, allocations: 230.9 kB / 1.259 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.35, allocations: 15.45 kB / 1.259 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/1.351, allocations: 66.73 kB / 1.259 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.351, allocations: 50.95 kB / 1.26 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/1.351, allocations: 31.53 kB / 1.26 GB, free: 206.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007749/1.352, allocations: 0.5516 MB / 1.26 GB, free: 206.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.352, allocations: 0.875 kB / 1.26 GB, free: 206.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001088/1.353, allocations: 280.3 kB / 1.26 GB, free: 206.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004887/1.354, allocations: 193.2 kB / 1.261 GB, free: 206.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001474/1.355, allocations: 0.8047 MB / 1.261 GB, free: 206.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.355, allocations: 2.219 kB / 1.261 GB, free: 206.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000624/1.356, allocations: 413.3 kB / 1.262 GB, free: 205.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/1.359, allocations: 0.5771 MB / 1.262 GB, free: 205.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/1.362, allocations: 2.153 MB / 1.264 GB, free: 204.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/1.363, allocations: 1.091 MB / 1.265 GB, free: 203.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001129/1.364, allocations: 214.2 kB / 1.266 GB, free: 203.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/1.364, allocations: 70.28 kB / 1.266 GB, free: 203.6 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/1.364, allocations: 1.125 kB / 1.266 GB, free: 203.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.02741/1.392, allocations: 18.41 MB / 1.284 GB, free: 191.1 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches