Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.622/1.622, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.215/3.215, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.93e-05/4.118e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.3289/0.3289, allocations: 219.1 MB / 1.025 GB, free: 6.258 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.3411, allocations: 5.847 MB / 1.031 GB, free: 408 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.3431, allocations: 59.5 kB / 1.031 GB, free: 348 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.3451, allocations: 0.5511 MB / 1.031 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.3515, allocations: 1.978 MB / 1.033 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.3554, allocations: 1.239 MB / 1.034 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005655/0.361, allocations: 3.067 MB / 1.037 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.3628, allocations: 0.8051 MB / 1.038 GB, free: 8.656 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00423/0.367, allocations: 1.683 MB / 1.04 GB, free: 6.969 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.3699, allocations: 0.9281 MB / 1.041 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.3702, allocations: 108 kB / 1.041 GB, free: 5.969 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.3735, allocations: 1.203 MB / 1.042 GB, free: 4.762 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007135/0.3742, allocations: 0.4947 MB / 1.042 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009067/0.3751, allocations: 479 kB / 1.043 GB, free: 3.797 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004686/0.3798, allocations: 2.197 MB / 1.045 GB, free: 1.594 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.3798, allocations: 4 kB / 1.045 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3798, allocations: 0 / 1.045 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.661e-05/0.3799, allocations: 0 / 1.045 GB, free: 1.59 MB / 0.9948 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.5398/0.9197, allocations: 1.643 MB / 1.047 GB, free: 281.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.9197, allocations: 8.594 kB / 1.047 GB, free: 281.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.922, allocations: 428.8 kB / 1.047 GB, free: 281.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.9235, allocations: 0.82 MB / 1.048 GB, free: 281.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.9236, allocations: 66.8 kB / 1.048 GB, free: 281.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.9237, allocations: 97 kB / 1.048 GB, free: 281.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.9252, allocations: 1.198 MB / 1.049 GB, free: 280.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.9252, allocations: 2.688 kB / 1.049 GB, free: 280.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.9253, allocations: 36.84 kB / 1.049 GB, free: 280.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.9253, allocations: 36.16 kB / 1.049 GB, free: 280.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.9263, allocations: 0.5666 MB / 1.05 GB, free: 280.3 MB / 0.9948 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.004394/0.9307, allocations: 2.707 MB / 1.052 GB, free: 279 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.9313, allocations: 359.7 kB / 1.053 GB, free: 278.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.9316, allocations: 204.7 kB / 1.053 GB, free: 278.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.9318, allocations: 30.3 kB / 1.053 GB, free: 278.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.9318, allocations: 43.95 kB / 1.053 GB, free: 278.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=47): time 2.004e-06/0.9318, allocations: 1.062 kB / 1.053 GB, free: 278.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=49): time 0.00272/0.9345, allocations: 1.332 MB / 1.054 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.9345, allocations: 62.41 kB / 1.054 GB, free: 278 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/0.9353, allocations: 0.7911 MB / 1.055 GB, free: 277.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.9353, allocations: 36.64 kB / 1.055 GB, free: 277.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.9356, allocations: 0.5777 MB / 1.056 GB, free: 277.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.9357, allocations: 194.4 kB / 1.056 GB, free: 277 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.9359, allocations: 145.1 kB / 1.056 GB, free: 276.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.9361, allocations: 0.6004 MB / 1.057 GB, free: 276.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.9364, allocations: 154.6 kB / 1.057 GB, free: 276.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.9368, allocations: 451.2 kB / 1.057 GB, free: 275.9 MB / 0.9948 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.004082/0.9409, allocations: 1.16 MB / 1.058 GB, free: 275.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.9409, allocations: 3.812 kB / 1.058 GB, free: 275.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001605/0.9425, allocations: 0.6314 MB / 1.059 GB, free: 275.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.9425, allocations: 6.406 kB / 1.059 GB, free: 275.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.9425, allocations: 5 kB / 1.059 GB, free: 275.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.9427, allocations: 59.97 kB / 1.059 GB, free: 275.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/0.9436, allocations: 136 kB / 1.059 GB, free: 275.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.9461, allocations: 3.729 MB / 1.063 GB, free: 271.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.9472, allocations: 34.06 kB / 1.063 GB, free: 271.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.9473, allocations: 25.84 kB / 1.063 GB, free: 271.5 MB / 0.9948 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.0005467/0.9479, allocations: 269.6 kB / 1.063 GB, free: 271.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.9481, allocations: 106.1 kB / 1.063 GB, free: 271.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.9483, allocations: 81.78 kB / 1.063 GB, free: 271.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.9483, allocations: 6.359 kB / 1.063 GB, free: 271.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.9483, allocations: 1.188 kB / 1.063 GB, free: 271.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/0.9495, allocations: 0.6934 MB / 1.064 GB, free: 270.6 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.953, allocations: 1.632 MB / 1.066 GB, free: 269.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.953, allocations: 2.594 kB / 1.066 GB, free: 269.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.9538, allocations: 117.2 kB / 1.066 GB, free: 269.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.9539, allocations: 33.02 kB / 1.066 GB, free: 269.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.9539, allocations: 22.98 kB / 1.066 GB, free: 269.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.9551, allocations: 1.855 MB / 1.068 GB, free: 267.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9551, allocations: 7.344 kB / 1.068 GB, free: 267.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.9568, allocations: 0.9311 MB / 1.068 GB, free: 267.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.9573, allocations: 137.2 kB / 1.069 GB, free: 267.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.9574, allocations: 17 kB / 1.069 GB, free: 267.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008964/0.9583, allocations: 27.91 kB / 1.069 GB, free: 267.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.9584, allocations: 45.36 kB / 1.069 GB, free: 267.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/0.9585, allocations: 32.75 kB / 1.069 GB, free: 267.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007519/0.9593, allocations: 489.8 kB / 1.069 GB, free: 266.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9593, allocations: 0 / 1.069 GB, free: 266.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001383/0.9607, allocations: 283.3 kB / 1.069 GB, free: 266.9 MB / 0.9948 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.0004127/0.9611, allocations: 180 kB / 1.07 GB, free: 266.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.9625, allocations: 0.7903 MB / 1.07 GB, free: 266.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.9625, allocations: 0 / 1.07 GB, free: 266.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.9631, allocations: 402.3 kB / 1.071 GB, free: 266 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.9666, allocations: 0.5043 MB / 1.071 GB, free: 265.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.9703, allocations: 1.702 MB / 1.073 GB, free: 264.9 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.9709, allocations: 483.7 kB / 1.073 GB, free: 264.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00104/0.9719, allocations: 164.8 kB / 1.074 GB, free: 264.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.9722, allocations: 62.8 kB / 1.074 GB, free: 264.8 MB / 0.9948 GB Notification: Performance of SimCode: time 1.373e-06/0.9722, allocations: 0 / 1.074 GB, free: 264.8 MB / 0.9948 GB Notification: Performance of Templates: time 0.04234/1.015, allocations: 18.04 MB / 1.091 GB, free: 262.8 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.124377710046247]