Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 178.8 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 92.48 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 14.41 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2563, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.024/5.28, allocations: 2.192 GB / 3.092 GB, free: 27.81 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/5.281, allocations: 93.39 kB / 3.093 GB, free: 27.72 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.901/7.181, allocations: 451.1 MB / 3.533 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.453e-06/7.181, allocations: 0 / 3.533 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.632e-05/7.181, allocations: 38.88 kB / 3.533 GB, free: 217.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003135/7.184, allocations: 1.392 MB / 3.534 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/7.185, allocations: 7.625 kB / 3.534 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/7.186, allocations: 318.9 kB / 3.535 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/7.188, allocations: 0.844 MB / 3.536 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/7.188, allocations: 68.62 kB / 3.536 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/7.188, allocations: 92.53 kB / 3.536 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/7.19, allocations: 1.016 MB / 3.537 GB, free: 216 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/7.19, allocations: 0 / 3.537 GB, free: 216 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/7.19, allocations: 41.25 kB / 3.537 GB, free: 216 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/7.19, allocations: 32.34 kB / 3.537 GB, free: 216 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/7.191, allocations: 0.8195 MB / 3.538 GB, free: 216 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/7.196, allocations: 3.5 MB / 3.541 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/7.197, allocations: 481.5 kB / 3.542 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/7.197, allocations: 96.38 kB / 3.542 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/7.197, allocations: 43.66 kB / 3.542 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 3.507e-06/7.197, allocations: 3.688 kB / 3.542 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49): time 0.00324/7.2, allocations: 1.818 MB / 3.543 GB, free: 214 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/7.2, allocations: 62.47 kB / 3.543 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007999/7.201, allocations: 0.7182 MB / 3.544 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/7.201, allocations: 47.14 kB / 3.544 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/7.201, allocations: 482.5 kB / 3.545 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/7.202, allocations: 177.8 kB / 3.545 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/7.202, allocations: 11.06 kB / 3.545 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/7.202, allocations: 334.3 kB / 3.545 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/7.202, allocations: 231.8 kB / 3.545 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/7.202, allocations: 387.1 kB / 3.546 GB, free: 213 MB / 0.8855 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.002459/7.205, allocations: 0.9104 MB / 3.547 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/7.205, allocations: 3.125 kB / 3.547 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001405/7.206, allocations: 0.7638 MB / 3.547 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/7.206, allocations: 10.81 kB / 3.547 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/7.206, allocations: 9.438 kB / 3.547 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/7.207, allocations: 57.38 kB / 3.547 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006242/7.207, allocations: 132.9 kB / 3.548 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/7.209, allocations: 2.796 MB / 3.55 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/7.211, allocations: 66.03 kB / 3.55 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/7.211, allocations: 25.61 kB / 3.55 GB, free: 210.3 MB / 0.8855 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: 16 * 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.0008441/7.211, allocations: 310.1 kB / 3.551 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/7.212, allocations: 98.47 kB / 3.551 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/7.212, allocations: 102.2 kB / 3.551 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/7.212, allocations: 11.73 kB / 3.551 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/7.212, allocations: 2.953 kB / 3.551 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000975/7.213, allocations: 0.8136 MB / 3.552 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/7.216, allocations: 1.742 MB / 3.553 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/7.216, allocations: 6.344 kB / 3.553 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/7.216, allocations: 107.2 kB / 3.554 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/7.216, allocations: 41.48 kB / 3.554 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/7.216, allocations: 15 kB / 3.554 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009695/7.217, allocations: 1.429 MB / 3.555 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/7.217, allocations: 3.875 kB / 3.555 GB, free: 208 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/7.219, allocations: 1.196 MB / 3.556 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/7.219, allocations: 250.5 kB / 3.556 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/7.219, allocations: 13.75 kB / 3.556 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/7.22, allocations: 71.14 kB / 3.556 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/7.22, allocations: 35.72 kB / 3.557 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/7.22, allocations: 31.75 kB / 3.557 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006928/7.221, allocations: 0.5682 MB / 3.557 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/7.221, allocations: 0 / 3.557 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001426/7.223, allocations: 406.8 kB / 3.557 GB, free: 207.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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.001817/7.224, allocations: 1.28 MB / 3.559 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001229/7.226, allocations: 0.7812 MB / 3.559 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/7.226, allocations: 0 / 3.559 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/7.226, allocations: 384.6 kB / 3.56 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/7.229, allocations: 0.5662 MB / 3.56 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/7.231, allocations: 2.198 MB / 3.563 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/7.232, allocations: 1.122 MB / 3.564 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008603/7.233, allocations: 217.8 kB / 3.564 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/7.233, allocations: 71.81 kB / 3.564 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.102e-06/7.233, allocations: 0 / 3.564 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.04939/7.282, allocations: 33.96 MB / 3.597 GB, free: 201.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches