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.001412/0.001412, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001501/0.001501, allocations: 219.1 kB / 23 MB, free: 4.914 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.4892 GB / 0.7951 GB, free: 35.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.98 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2531/0.5898, allocations: 196 MB / 1.518 GB, free: 13.08 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.6001, allocations: 5.423 MB / 1.523 GB, free: 7.652 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.6016, allocations: 63.5 kB / 1.523 GB, free: 7.59 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.6035, allocations: 0.5591 MB / 1.524 GB, free: 7.027 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005153/0.6086, allocations: 1.924 MB / 1.526 GB, free: 5.098 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.6119, allocations: 1.211 MB / 1.527 GB, free: 3.891 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004337/0.6162, allocations: 3.025 MB / 1.53 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.6175, allocations: 0.758 MB / 1.53 GB, free: 80 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.6203, allocations: 1.339 MB / 1.532 GB, free: 14.73 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.6228, allocations: 0.9672 MB / 1.533 GB, free: 13.77 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.623, allocations: 108 kB / 1.533 GB, free: 13.67 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.6259, allocations: 1.173 MB / 1.534 GB, free: 12.49 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005792/0.6265, allocations: 478.6 kB / 1.534 GB, free: 12.02 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008187/0.6273, allocations: 0.5485 MB / 1.535 GB, free: 11.47 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003321/0.6306, allocations: 2.106 MB / 1.537 GB, free: 9.359 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6306, allocations: 0 / 1.537 GB, free: 9.359 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.205e-06/0.6306, allocations: 0 / 1.537 GB, free: 9.359 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.254e-05/0.6306, allocations: 0 / 1.537 GB, free: 9.359 MB / 1.232 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.002626/0.6333, allocations: 1.473 MB / 1.538 GB, free: 7.848 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6333, allocations: 12.03 kB / 1.538 GB, free: 7.836 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.6353, allocations: 322.9 kB / 1.539 GB, free: 7.52 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.6369, allocations: 0.7838 MB / 1.539 GB, free: 6.707 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/0.637, allocations: 66 kB / 1.54 GB, free: 6.645 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.6372, allocations: 87.98 kB / 1.54 GB, free: 6.559 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.6391, allocations: 1.361 MB / 1.541 GB, free: 5.078 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.6391, allocations: 3.984 kB / 1.541 GB, free: 5.074 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/0.6392, allocations: 40 kB / 1.541 GB, free: 5.035 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.6393, allocations: 37.94 kB / 1.541 GB, free: 4.996 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.6408, allocations: 0.8276 MB / 1.542 GB, free: 4.172 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.646, allocations: 2.386 MB / 1.544 GB, free: 1.742 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/0.6468, allocations: 466.2 kB / 1.545 GB, free: 1.281 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.6473, allocations: 284.5 kB / 1.545 GB, free: 1 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.6474, allocations: 24.42 kB / 1.545 GB, free: 0.9727 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.6475, allocations: 43 kB / 1.545 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.394e-06/0.6475, allocations: 4 kB / 1.545 GB, free: 0.918 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003666/0.6511, allocations: 1.652 MB / 1.547 GB, free: 15.23 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.6512, allocations: 55.84 kB / 1.547 GB, free: 15.16 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008379/0.652, allocations: 0.6526 MB / 1.547 GB, free: 14.5 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.6521, allocations: 41.64 kB / 1.547 GB, free: 14.46 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.6525, allocations: 0.496 MB / 1.548 GB, free: 13.95 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.6526, allocations: 178.4 kB / 1.548 GB, free: 13.78 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.6528, allocations: 126.2 kB / 1.548 GB, free: 13.64 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.653, allocations: 378.7 kB / 1.548 GB, free: 13.27 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.6535, allocations: 245.2 kB / 1.549 GB, free: 13.03 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/0.6541, allocations: 487.4 kB / 1.549 GB, free: 12.48 MB / 1.248 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.003727/0.6579, allocations: 1.454 MB / 1.551 GB, free: 10.98 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6579, allocations: 0 / 1.551 GB, free: 10.98 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001451/0.6593, allocations: 0.7877 MB / 1.551 GB, free: 10.18 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6593, allocations: 8 kB / 1.551 GB, free: 10.17 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.6593, allocations: 4 kB / 1.551 GB, free: 10.17 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.6595, allocations: 69.61 kB / 1.551 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.6602, allocations: 147.8 kB / 1.552 GB, free: 9.949 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.6629, allocations: 2.865 MB / 1.554 GB, free: 6.879 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/0.6636, allocations: 19.98 kB / 1.554 GB, free: 6.859 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.6637, allocations: 24 kB / 1.554 GB, free: 6.836 MB / 1.248 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.0004995/0.6642, allocations: 305.8 kB / 1.555 GB, free: 6.527 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.6643, allocations: 91.42 kB / 1.555 GB, free: 6.438 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.6645, allocations: 87.34 kB / 1.555 GB, free: 6.348 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6645, allocations: 11.94 kB / 1.555 GB, free: 6.336 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.6645, allocations: 0 / 1.555 GB, free: 6.336 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/0.6656, allocations: 0.831 MB / 1.556 GB, free: 5.414 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.6685, allocations: 1.533 MB / 1.557 GB, free: 3.801 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6685, allocations: 4 kB / 1.557 GB, free: 3.797 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.6691, allocations: 132.2 kB / 1.557 GB, free: 3.668 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.802e-05/0.6692, allocations: 36.84 kB / 1.557 GB, free: 3.629 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.6692, allocations: 19.92 kB / 1.557 GB, free: 3.609 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.6706, allocations: 1.472 MB / 1.559 GB, free: 2.035 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6706, allocations: 4 kB / 1.559 GB, free: 2.031 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.6723, allocations: 1.062 MB / 1.56 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.6727, allocations: 143.4 kB / 1.56 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.6728, allocations: 16 kB / 1.56 GB, free: 0.7578 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/0.6735, allocations: 33.59 kB / 1.56 GB, free: 0.7266 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.6735, allocations: 43.81 kB / 1.56 GB, free: 0.6836 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.646e-05/0.6736, allocations: 27.98 kB / 1.56 GB, free: 0.6562 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005649/0.6742, allocations: 455 kB / 1.561 GB, free: 224 kB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6742, allocations: 0 / 1.561 GB, free: 224 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008778/0.6751, allocations: 280 kB / 1.561 GB, free: 15.94 MB / 1.264 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.0003356/0.6754, allocations: 182.8 kB / 1.561 GB, free: 15.76 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.6767, allocations: 0.7802 MB / 1.562 GB, free: 14.95 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.6767, allocations: 11.94 kB / 1.562 GB, free: 14.94 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.6773, allocations: 395.6 kB / 1.562 GB, free: 14.54 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.6795, allocations: 495 kB / 1.563 GB, free: 14.07 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.6825, allocations: 1.866 MB / 1.564 GB, free: 12.12 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.6831, allocations: 0.4886 MB / 1.565 GB, free: 11.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.6833, allocations: 63.44 kB / 1.565 GB, free: 11.54 MB / 1.264 GB Notification: Performance of SimCode: time 6.31e-07/0.6833, allocations: 4 kB / 1.565 GB, free: 11.53 MB / 1.264 GB Notification: Performance of Templates: time 0.02904/0.7123, allocations: 20.96 MB / 1.585 GB, free: 6.676 MB / 1.279 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] 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/jenkins1/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] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1] [Calling sys.exit(0), Time elapsed: 14.554805826861411]