Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001589/0.001589, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001932/0.001932, allocations: 187.5 kB / 16.25 MB, free: 6.633 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.447/2.447, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7669, allocations: 140.4 MB / 0.9491 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2609/1.028, allocations: 218.3 MB / 1.162 GB, free: 6.961 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009854/1.038, allocations: 5.695 MB / 1.168 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/1.039, allocations: 35.75 kB / 1.168 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/1.041, allocations: 0.5131 MB / 1.168 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/1.045, allocations: 1.739 MB / 1.17 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/1.048, allocations: 1.091 MB / 1.171 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003774/1.052, allocations: 2.948 MB / 1.174 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/1.053, allocations: 1.003 MB / 1.175 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/1.055, allocations: 1.07 MB / 1.176 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/1.058, allocations: 0.9953 MB / 1.177 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002074/1.058, allocations: 120 kB / 1.177 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00408/1.062, allocations: 1.496 MB / 1.179 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00079/1.063, allocations: 466.8 kB / 1.179 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/1.064, allocations: 0.6534 MB / 1.18 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004812/1.069, allocations: 2.216 MB / 1.182 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.069, allocations: 0 / 1.182 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/1.069, allocations: 0 / 1.182 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.639e-05/1.069, allocations: 0 / 1.182 GB, free: 2.879 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003799/1.073, allocations: 1.507 MB / 1.183 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.073, allocations: 12.03 kB / 1.183 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/1.076, allocations: 310.3 kB / 1.184 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/1.078, allocations: 0.8201 MB / 1.184 GB, free: 144 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/1.079, allocations: 62 kB / 1.184 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/1.079, allocations: 92.05 kB / 1.185 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/1.081, allocations: 0.9209 MB / 1.185 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/1.081, allocations: 0 / 1.185 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/1.082, allocations: 43.94 kB / 1.186 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/1.082, allocations: 37.94 kB / 1.186 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/1.084, allocations: 0.8354 MB / 1.186 GB, free: 14.14 MB / 0.9512 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.008813/1.093, allocations: 3.528 MB / 1.19 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/1.094, allocations: 496.4 kB / 1.19 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/1.094, allocations: 296.5 kB / 1.191 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/1.095, allocations: 97.53 kB / 1.191 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/1.095, allocations: 50.94 kB / 1.191 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 4.158e-06/1.095, allocations: 3.938 kB / 1.191 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.005821/1.101, allocations: 1.876 MB / 1.193 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/1.101, allocations: 55.84 kB / 1.193 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/1.102, allocations: 0.802 MB / 1.193 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/1.102, allocations: 37.7 kB / 1.193 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004779/1.103, allocations: 483.2 kB / 1.194 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/1.103, allocations: 177.5 kB / 1.194 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/1.103, allocations: 114.2 kB / 1.194 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.104, allocations: 330 kB / 1.194 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/1.104, allocations: 245.2 kB / 1.195 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007676/1.105, allocations: 384.6 kB / 1.195 GB, free: 4.773 MB / 0.9512 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.005288/1.11, allocations: 1.543 MB / 1.197 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.11, allocations: 0 / 1.197 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002202/1.113, allocations: 0.7961 MB / 1.197 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/1.113, allocations: 4 kB / 1.197 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.113, allocations: 4 kB / 1.197 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/1.113, allocations: 70.08 kB / 1.197 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.114, allocations: 155.7 kB / 1.198 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003706/1.118, allocations: 3.117 MB / 1.201 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/1.119, allocations: 67.89 kB / 1.201 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.325e-05/1.12, allocations: 20 kB / 1.201 GB, free: 14.64 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008335/1.12, allocations: 307.5 kB / 1.201 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/1.121, allocations: 98.81 kB / 1.201 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/1.121, allocations: 100.7 kB / 1.201 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.121, allocations: 4 kB / 1.201 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.121, allocations: 0 / 1.201 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001536/1.123, allocations: 0.8427 MB / 1.202 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/1.127, allocations: 1.782 MB / 1.204 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.127, allocations: 4 kB / 1.204 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009499/1.128, allocations: 132.2 kB / 1.204 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/1.128, allocations: 40.84 kB / 1.204 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/1.128, allocations: 15.98 kB / 1.204 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/1.13, allocations: 1.59 MB / 1.206 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.832e-05/1.13, allocations: 11.92 kB / 1.206 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/1.133, allocations: 1.069 MB / 1.207 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/1.134, allocations: 236 kB / 1.207 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/1.134, allocations: 16 kB / 1.207 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.135, allocations: 66.64 kB / 1.207 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/1.135, allocations: 47.75 kB / 1.207 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.837e-05/1.135, allocations: 35.98 kB / 1.207 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001107/1.136, allocations: 0.5576 MB / 1.207 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.4e-07/1.136, allocations: 0 / 1.207 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00147/1.138, allocations: 276 kB / 1.208 GB, free: 7.027 MB / 0.9669 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 (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 Backend phase and start with SimCode phase: time 0.0005864/1.138, allocations: 202.5 kB / 1.208 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00223/1.141, allocations: 0.8592 MB / 1.209 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.141, allocations: 0 / 1.209 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009255/1.142, allocations: 419.9 kB / 1.209 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/1.146, allocations: 0.6015 MB / 1.21 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/1.15, allocations: 2.175 MB / 1.212 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/1.151, allocations: 1.087 MB / 1.213 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001066/1.152, allocations: 219.7 kB / 1.213 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/1.152, allocations: 71.42 kB / 1.213 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/1.152, allocations: 0 / 1.213 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of Templates: time 0.03628/1.189, allocations: 19.85 MB / 1.233 GB, free: 13.73 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches