Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001927/0.001927, allocations: 83.69 kB / 20.23 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.002077/0.002077, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.626/1.626, allocations: 177.1 MB / 203.9 MB, free: 5.625 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.074/3.074, allocations: 377.8 MB / 0.6232 GB, free: 8.547 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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.057e-05/1.057e-05, allocations: 3.938 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.898e-05/4.955e-05, allocations: 7.375 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2741/0.2742, allocations: 187.3 MB / 0.9937 GB, free: 6.242 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.2859, allocations: 5.799 MB / 0.9994 GB, free: 436 kB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.2869, allocations: 51.56 kB / 0.9994 GB, free: 384 kB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.2886, allocations: 0.5551 MB / 1 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.2931, allocations: 1.718 MB / 1.002 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.2965, allocations: 1.248 MB / 1.003 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.004819/0.3014, allocations: 2.598 MB / 1.005 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.3027, allocations: 0.7473 MB / 1.006 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.3058, allocations: 1.554 MB / 1.008 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.3078, allocations: 0.7899 MB / 1.008 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.3081, allocations: 104 kB / 1.009 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.3108, allocations: 1.27 MB / 1.01 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006618/0.3115, allocations: 0.526 MB / 1.01 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0009542/0.3124, allocations: 455 kB / 1.011 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.3158, allocations: 2.166 MB / 1.013 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3158, allocations: 0 / 1.013 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3158, allocations: 4 kB / 1.013 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.3159, allocations: 0 / 1.013 GB, free: 2.613 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002858/0.3187, allocations: 1.616 MB / 1.014 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.3188, allocations: 12.03 kB / 1.014 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.3208, allocations: 418.5 kB / 1.015 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.3224, allocations: 0.7704 MB / 1.016 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/0.3225, allocations: 66 kB / 1.016 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.3226, allocations: 88 kB / 1.016 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.3248, allocations: 1.381 MB / 1.017 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.3248, allocations: 4 kB / 1.017 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.3249, allocations: 43.94 kB / 1.017 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.417e-05/0.325, allocations: 33.98 kB / 1.017 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.3263, allocations: 0.5463 MB / 1.018 GB, free: 13.41 MB / 0.9792 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.006513/0.3328, allocations: 3.813 MB / 1.021 GB, free: 9.496 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.3333, allocations: 255.2 kB / 1.022 GB, free: 9.234 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.3336, allocations: 139.6 kB / 1.022 GB, free: 9.094 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.3338, allocations: 24.52 kB / 1.022 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.3338, allocations: 45.39 kB / 1.022 GB, free: 9.016 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=36): time 5.049e-06/0.3338, allocations: 3.984 kB / 1.022 GB, free: 9.012 MB / 0.9792 GB Notification: Performance of matching and sorting (n=38): time 0.002438/0.3363, allocations: 1.019 MB / 1.023 GB, free: 7.957 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3363, allocations: 55.41 kB / 1.023 GB, free: 7.891 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.3376, allocations: 0.8625 MB / 1.024 GB, free: 7.012 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.3377, allocations: 33.7 kB / 1.024 GB, free: 6.973 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/0.3382, allocations: 0.6038 MB / 1.024 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.3387, allocations: 166.7 kB / 1.024 GB, free: 6.195 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.339, allocations: 143.9 kB / 1.025 GB, free: 6.047 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004102/0.3394, allocations: 0.6133 MB / 1.025 GB, free: 5.422 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.3398, allocations: 133.2 kB / 1.025 GB, free: 5.293 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006845/0.3404, allocations: 474 kB / 1.026 GB, free: 4.711 MB / 0.9792 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.002544/0.343, allocations: 0.9383 MB / 1.027 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.343, allocations: 4 kB / 1.027 GB, free: 3.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001324/0.3443, allocations: 0.5903 MB / 1.027 GB, free: 3.062 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.3443, allocations: 9.875 kB / 1.027 GB, free: 3.055 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.3444, allocations: 4 kB / 1.027 GB, free: 3.051 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.283e-05/0.3444, allocations: 12 kB / 1.027 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.345, allocations: 131.8 kB / 1.027 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.345, allocations: 12.28 kB / 1.027 GB, free: 2.898 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.3458, allocations: 51.91 kB / 1.028 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.3459, allocations: 24 kB / 1.028 GB, free: 2.824 MB / 0.9792 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004909/0.3464, allocations: 265.3 kB / 1.028 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.3466, allocations: 87.53 kB / 1.028 GB, free: 2.469 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.3468, allocations: 82.98 kB / 1.028 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.3468, allocations: 4 kB / 1.028 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3468, allocations: 4 kB / 1.028 GB, free: 2.379 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007756/0.3476, allocations: 0.5773 MB / 1.029 GB, free: 1.715 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.3505, allocations: 1.506 MB / 1.03 GB, free: 104 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3505, allocations: 4 kB / 1.03 GB, free: 100 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.3509, allocations: 91.83 kB / 1.03 GB, free: 8 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.3509, allocations: 4 kB / 1.03 GB, free: 4 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.351, allocations: 12.08 kB / 1.03 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.351, allocations: 8 kB / 1.03 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/0.351, allocations: 7.938 kB / 1.03 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3522, allocations: 0.7529 MB / 1.031 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.3526, allocations: 131.5 kB / 1.031 GB, free: 15 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.3527, allocations: 19.98 kB / 1.031 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.3533, allocations: 23.98 kB / 1.031 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003519/0.3536, allocations: 35.83 kB / 1.031 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.3537, allocations: 27.98 kB / 1.031 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000856/0.3545, allocations: 0.5224 MB / 1.032 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3545, allocations: 0 / 1.032 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001073/0.3556, allocations: 263.9 kB / 1.032 GB, free: 14.12 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004687/0.3561, allocations: 185.8 kB / 1.032 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0009782/0.357, allocations: 405.4 kB / 1.032 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.3571, allocations: 4 kB / 1.032 GB, free: 13.53 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.3573, allocations: 157.8 kB / 1.033 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.3595, allocations: 457.4 kB / 1.033 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.3627, allocations: 1.675 MB / 1.035 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.3633, allocations: 487.3 kB / 1.035 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007347/0.364, allocations: 186.3 kB / 1.035 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.3642, allocations: 64.5 kB / 1.035 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.743e-06/0.3642, allocations: 0 / 1.035 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of Templates: time 0.3859/0.7502, allocations: 15.79 MB / 1.051 GB, free: 273.3 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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: 9.510043406975456]