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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005503/0.005503, allocations: 101.7 kB / 15.73 MB, free: 6.469 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.001678/0.001678, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.672/2.672, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.12 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3034, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9818/1.285, allocations: 221.1 MB / 1.424 GB, free: 6.363 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009774/1.295, allocations: 5.726 MB / 1.429 GB, free: 1.699 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/1.297, allocations: 45.09 kB / 1.429 GB, free: 1.68 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/1.299, allocations: 0.5737 MB / 1.43 GB, free: 1.203 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/1.304, allocations: 1.844 MB / 1.432 GB, free: 15.76 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/1.307, allocations: 1.186 MB / 1.433 GB, free: 14.85 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003885/1.311, allocations: 2.955 MB / 1.436 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/1.313, allocations: 1.031 MB / 1.437 GB, free: 12.24 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/1.315, allocations: 1.082 MB / 1.438 GB, free: 11.15 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002317/1.317, allocations: 0.9404 MB / 1.439 GB, free: 10.22 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003242/1.317, allocations: 108 kB / 1.439 GB, free: 10.12 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/1.321, allocations: 1.442 MB / 1.44 GB, free: 8.672 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005769/1.321, allocations: 454.8 kB / 1.441 GB, free: 8.227 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/1.322, allocations: 0.6572 MB / 1.441 GB, free: 7.566 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003486/1.326, allocations: 2.131 MB / 1.443 GB, free: 5.43 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.326, allocations: 4 kB / 1.443 GB, free: 5.426 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.993e-06/1.326, allocations: 0 / 1.443 GB, free: 5.426 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.914e-05/1.326, allocations: 4 kB / 1.443 GB, free: 5.422 MB / 1.123 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.003376/1.329, allocations: 1.5 MB / 1.445 GB, free: 3.871 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.329, allocations: 8.625 kB / 1.445 GB, free: 3.863 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1.331, allocations: 318.3 kB / 1.445 GB, free: 3.551 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/1.333, allocations: 0.8552 MB / 1.446 GB, free: 2.652 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/1.333, allocations: 66 kB / 1.446 GB, free: 2.586 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/1.333, allocations: 84 kB / 1.446 GB, free: 2.504 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/1.335, allocations: 0.917 MB / 1.447 GB, free: 1.582 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/1.335, allocations: 0 / 1.447 GB, free: 1.582 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/1.335, allocations: 39.98 kB / 1.447 GB, free: 1.543 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/1.335, allocations: 30 kB / 1.447 GB, free: 1.516 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/1.337, allocations: 0.8431 MB / 1.448 GB, free: 0.668 MB / 1.123 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.005437/1.342, allocations: 3.508 MB / 1.451 GB, free: 12.94 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/1.343, allocations: 490.1 kB / 1.452 GB, free: 12.45 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/1.343, allocations: 298.7 kB / 1.452 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/1.344, allocations: 105.5 kB / 1.452 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.344, allocations: 42.98 kB / 1.452 GB, free: 11.99 MB / 1.139 GB Notification: Performance of pre-optimization done (n=47): time 2.234e-06/1.344, allocations: 4 kB / 1.452 GB, free: 11.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=49): time 0.003483/1.347, allocations: 1.88 MB / 1.454 GB, free: 10.01 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/1.347, allocations: 55.84 kB / 1.454 GB, free: 9.941 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000911/1.348, allocations: 0.8019 MB / 1.455 GB, free: 9.133 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/1.348, allocations: 37.7 kB / 1.455 GB, free: 9.09 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/1.348, allocations: 479.2 kB / 1.455 GB, free: 8.613 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/1.349, allocations: 169.6 kB / 1.456 GB, free: 8.445 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/1.349, allocations: 126.2 kB / 1.456 GB, free: 8.316 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.349, allocations: 326 kB / 1.456 GB, free: 7.992 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/1.349, allocations: 249.2 kB / 1.456 GB, free: 7.75 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/1.35, allocations: 383.2 kB / 1.457 GB, free: 7.328 MB / 1.139 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.003765/1.354, allocations: 1.548 MB / 1.458 GB, free: 5.719 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.354, allocations: 0 / 1.458 GB, free: 5.719 MB / 1.139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001354/1.355, allocations: 0.7925 MB / 1.459 GB, free: 4.914 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.355, allocations: 7.938 kB / 1.459 GB, free: 4.906 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.355, allocations: 11.48 kB / 1.459 GB, free: 4.898 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/1.355, allocations: 61.69 kB / 1.459 GB, free: 4.832 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/1.356, allocations: 151.9 kB / 1.459 GB, free: 4.684 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/1.358, allocations: 3.126 MB / 1.462 GB, free: 1.277 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008383/1.359, allocations: 32.14 kB / 1.462 GB, free: 1.246 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/1.359, allocations: 24 kB / 1.462 GB, free: 1.223 MB / 1.139 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.0004518/1.36, allocations: 307.8 kB / 1.462 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/1.36, allocations: 90.88 kB / 1.463 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/1.36, allocations: 100.7 kB / 1.463 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.36, allocations: 8 kB / 1.463 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.36, allocations: 0 / 1.463 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/1.361, allocations: 0.8465 MB / 1.464 GB, free: 15.78 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/1.364, allocations: 1.783 MB / 1.465 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.364, allocations: 8.969 kB / 1.465 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/1.365, allocations: 127.9 kB / 1.465 GB, free: 13.76 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/1.365, allocations: 40.83 kB / 1.465 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/1.365, allocations: 12 kB / 1.465 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/1.366, allocations: 1.597 MB / 1.467 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/1.366, allocations: 11.88 kB / 1.467 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/1.368, allocations: 1.062 MB / 1.468 GB, free: 10.84 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000541/1.369, allocations: 240 kB / 1.468 GB, free: 10.59 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/1.369, allocations: 15.98 kB / 1.468 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/1.37, allocations: 35.98 kB / 1.468 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/1.37, allocations: 35.89 kB / 1.468 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-05/1.37, allocations: 27.98 kB / 1.468 GB, free: 10.48 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008533/1.371, allocations: 0.5654 MB / 1.469 GB, free: 9.914 MB / 1.154 GB Notification: Performance of sort global known variables: time 5.51e-07/1.371, allocations: 0 / 1.469 GB, free: 9.914 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009727/1.372, allocations: 272 kB / 1.469 GB, free: 9.648 MB / 1.154 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.0005224/1.372, allocations: 190.6 kB / 1.469 GB, free: 9.461 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001562/1.374, allocations: 0.8154 MB / 1.47 GB, free: 8.621 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.374, allocations: 0 / 1.47 GB, free: 8.621 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006903/1.374, allocations: 411.8 kB / 1.471 GB, free: 8.207 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/1.377, allocations: 0.5986 MB / 1.471 GB, free: 7.625 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/1.381, allocations: 1.795 MB / 1.473 GB, free: 5.758 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/1.381, allocations: 1.091 MB / 1.474 GB, free: 4.637 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008968/1.382, allocations: 219.7 kB / 1.474 GB, free: 4.418 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/1.382, allocations: 71.44 kB / 1.474 GB, free: 4.348 MB / 1.154 GB Notification: Performance of SimCode: time 6.71e-07/1.382, allocations: 0 / 1.474 GB, free: 4.348 MB / 1.154 GB Notification: Performance of Templates: time 0.03735/1.42, allocations: 20.52 MB / 1.494 GB, free: 108 kB / 1.17 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