Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.008138/0.008138, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002202/0.002202, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 472.6 MB / 0.7453 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.89 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3554, allocations: 159.9 MB / 1.226 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 1.04/1.396, allocations: 221.1 MB / 1.442 GB, free: 1.309 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009646/1.405, allocations: 5.717 MB / 1.447 GB, free: 11.58 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/1.407, allocations: 43.75 kB / 1.447 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/1.409, allocations: 0.5786 MB / 1.448 GB, free: 10.96 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004622/1.414, allocations: 1.844 MB / 1.45 GB, free: 9.105 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/1.417, allocations: 1.201 MB / 1.451 GB, free: 7.918 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003552/1.42, allocations: 2.941 MB / 1.454 GB, free: 4.969 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/1.421, allocations: 1.032 MB / 1.455 GB, free: 3.922 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/1.423, allocations: 1.058 MB / 1.456 GB, free: 2.859 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/1.425, allocations: 0.9514 MB / 1.457 GB, free: 1.918 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/1.425, allocations: 108 kB / 1.457 GB, free: 1.812 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/1.428, allocations: 1.426 MB / 1.458 GB, free: 392 kB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004075/1.428, allocations: 466.8 kB / 1.459 GB, free: 15.93 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006366/1.429, allocations: 0.6456 MB / 1.459 GB, free: 15.28 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/1.431, allocations: 2.137 MB / 1.461 GB, free: 13.13 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.431, allocations: 0 / 1.461 GB, free: 13.13 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.072e-06/1.431, allocations: 3.938 kB / 1.461 GB, free: 13.13 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.813e-05/1.431, allocations: 4 kB / 1.461 GB, free: 13.12 MB / 1.154 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.002536/1.434, allocations: 1.537 MB / 1.463 GB, free: 11.53 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.434, allocations: 12.02 kB / 1.463 GB, free: 11.52 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/1.436, allocations: 326.9 kB / 1.463 GB, free: 11.2 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/1.438, allocations: 0.8598 MB / 1.464 GB, free: 10.3 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/1.438, allocations: 66 kB / 1.464 GB, free: 10.23 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/1.438, allocations: 87.94 kB / 1.464 GB, free: 10.15 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/1.44, allocations: 0.9131 MB / 1.465 GB, free: 9.23 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/1.44, allocations: 0 / 1.465 GB, free: 9.23 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/1.44, allocations: 36 kB / 1.465 GB, free: 9.195 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/1.44, allocations: 37.98 kB / 1.465 GB, free: 9.156 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/1.441, allocations: 0.8314 MB / 1.466 GB, free: 8.324 MB / 1.154 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.005523/1.447, allocations: 3.521 MB / 1.469 GB, free: 4.582 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/1.448, allocations: 0.492 MB / 1.47 GB, free: 4.086 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/1.448, allocations: 302 kB / 1.47 GB, free: 3.789 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.448, allocations: 109.5 kB / 1.47 GB, free: 3.66 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/1.448, allocations: 39 kB / 1.47 GB, free: 3.613 MB / 1.154 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/1.448, allocations: 4 kB / 1.47 GB, free: 3.609 MB / 1.154 GB Notification: Performance of matching and sorting (n=49): time 0.003708/1.452, allocations: 1.893 MB / 1.472 GB, free: 1.625 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/1.452, allocations: 55.84 kB / 1.472 GB, free: 1.559 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/1.453, allocations: 0.8019 MB / 1.473 GB, free: 0.75 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/1.453, allocations: 45.64 kB / 1.473 GB, free: 0.6992 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/1.454, allocations: 488.2 kB / 1.473 GB, free: 224 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/1.454, allocations: 182.4 kB / 1.474 GB, free: 40 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/1.454, allocations: 122.3 kB / 1.474 GB, free: 15.91 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.454, allocations: 333.8 kB / 1.474 GB, free: 15.58 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/1.455, allocations: 241.2 kB / 1.474 GB, free: 15.35 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/1.455, allocations: 384.7 kB / 1.475 GB, free: 14.92 MB / 1.17 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.00372/1.459, allocations: 1.539 MB / 1.476 GB, free: 13.32 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.459, allocations: 1.125 kB / 1.476 GB, free: 13.32 MB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001381/1.46, allocations: 0.8046 MB / 1.477 GB, free: 12.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.46, allocations: 8 kB / 1.477 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.46, allocations: 0 / 1.477 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/1.46, allocations: 65.69 kB / 1.477 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/1.461, allocations: 147.9 kB / 1.477 GB, free: 12.28 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/1.464, allocations: 3.126 MB / 1.48 GB, free: 8.875 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008446/1.465, allocations: 32.09 kB / 1.48 GB, free: 8.844 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/1.465, allocations: 27.98 kB / 1.48 GB, free: 8.816 MB / 1.17 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.0004926/1.465, allocations: 305.5 kB / 1.48 GB, free: 8.508 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/1.465, allocations: 95.44 kB / 1.481 GB, free: 8.414 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/1.466, allocations: 96.73 kB / 1.481 GB, free: 8.316 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.466, allocations: 11.92 kB / 1.481 GB, free: 8.305 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.466, allocations: 0 / 1.481 GB, free: 8.305 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/1.467, allocations: 0.8388 MB / 1.482 GB, free: 7.375 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/1.47, allocations: 1.791 MB / 1.483 GB, free: 5.484 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.47, allocations: 8.094 kB / 1.483 GB, free: 5.477 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/1.47, allocations: 123.9 kB / 1.483 GB, free: 5.355 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.73e-05/1.47, allocations: 36.83 kB / 1.483 GB, free: 5.316 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/1.47, allocations: 16 kB / 1.483 GB, free: 5.301 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.472, allocations: 1.602 MB / 1.485 GB, free: 3.555 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.472, allocations: 7.938 kB / 1.485 GB, free: 3.547 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/1.473, allocations: 1.063 MB / 1.486 GB, free: 2.426 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/1.474, allocations: 244.4 kB / 1.486 GB, free: 2.168 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.474, allocations: 15.98 kB / 1.486 GB, free: 2.152 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/1.474, allocations: 34.62 kB / 1.486 GB, free: 2.121 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.474, allocations: 43.89 kB / 1.486 GB, free: 2.078 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/1.475, allocations: 27.98 kB / 1.486 GB, free: 2.051 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007006/1.475, allocations: 0.5653 MB / 1.487 GB, free: 1.492 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.475, allocations: 0 / 1.487 GB, free: 1.492 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00086/1.476, allocations: 276 kB / 1.487 GB, free: 1.223 MB / 1.17 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.0004577/1.477, allocations: 206.4 kB / 1.487 GB, free: 1.023 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001391/1.478, allocations: 0.8045 MB / 1.488 GB, free: 204 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.478, allocations: 4 kB / 1.488 GB, free: 200 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/1.479, allocations: 408.1 kB / 1.489 GB, free: 15.79 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/1.481, allocations: 0.5941 MB / 1.489 GB, free: 15.2 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/1.484, allocations: 1.843 MB / 1.491 GB, free: 13.29 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/1.485, allocations: 1.095 MB / 1.492 GB, free: 12.16 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000706/1.485, allocations: 219.7 kB / 1.492 GB, free: 11.94 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/1.486, allocations: 67.44 kB / 1.492 GB, free: 11.88 MB / 1.186 GB Notification: Performance of SimCode: time 6.52e-07/1.486, allocations: 0 / 1.492 GB, free: 11.88 MB / 1.186 GB Notification: Performance of Templates: time 0.03321/1.519, allocations: 20.18 MB / 1.512 GB, free: 7.965 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches