Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001774/0.001774, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001737/0.001737, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.512/1.512, allocations: 177.2 MB / 203.9 MB, free: 5.582 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 2.957/2.957, 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.926e-05, allocations: 5.703 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2523/0.2524, allocations: 168.4 MB / 0.9753 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.2642, allocations: 5.454 MB / 0.9806 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.2661, allocations: 51.56 kB / 0.9807 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.2683, allocations: 0.5705 MB / 0.9812 GB, free: 3.012 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00617/0.2745, allocations: 1.974 MB / 0.9832 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.2783, allocations: 1.242 MB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.005318/0.2837, allocations: 3.05 MB / 0.9873 GB, free: 12.73 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.2854, allocations: 0.7709 MB / 0.9881 GB, free: 11.94 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004351/0.2898, allocations: 1.671 MB / 0.9897 GB, free: 10.26 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.2924, allocations: 0.8694 MB / 0.9906 GB, free: 9.41 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003632/0.2928, allocations: 108 kB / 0.9907 GB, free: 9.305 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.2959, allocations: 1.196 MB / 0.9918 GB, free: 8.105 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008199/0.2968, allocations: 0.4908 MB / 0.9923 GB, free: 7.613 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.2982, allocations: 483 kB / 0.9928 GB, free: 7.141 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.004813/0.303, allocations: 2.17 MB / 0.9949 GB, free: 4.965 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.303, allocations: 4 kB / 0.9949 GB, free: 4.961 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.462e-06/0.303, allocations: 0 / 0.9949 GB, free: 4.961 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.817e-05/0.3031, allocations: 0 / 0.9949 GB, free: 4.961 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003683/0.3068, allocations: 1.465 MB / 0.9963 GB, free: 3.461 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3068, allocations: 12.03 kB / 0.9964 GB, free: 3.449 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/0.3092, allocations: 422.4 kB / 0.9968 GB, free: 3.035 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001894/0.3111, allocations: 0.8423 MB / 0.9976 GB, free: 2.164 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.984e-05/0.3112, allocations: 66 kB / 0.9976 GB, free: 2.098 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.3114, allocations: 92 kB / 0.9977 GB, free: 2.008 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.3138, allocations: 1.361 MB / 0.9991 GB, free: 0.5312 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.3138, allocations: 4 kB / 0.9991 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.3139, allocations: 39.94 kB / 0.9991 GB, free: 500 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.314, allocations: 34 kB / 0.9991 GB, free: 468 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.3158, allocations: 0.8199 MB / 0.9999 GB, free: 15.63 MB / 0.9636 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.005985/0.3218, allocations: 2.418 MB / 1.002 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000921/0.3227, allocations: 476.6 kB / 1.003 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.3233, allocations: 274.2 kB / 1.003 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.3234, allocations: 28.42 kB / 1.003 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.3235, allocations: 51.06 kB / 1.003 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=47): time 3.065e-06/0.3235, allocations: 0 / 1.003 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=49): time 0.004764/0.3283, allocations: 1.706 MB / 1.005 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3283, allocations: 63.91 kB / 1.005 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.3293, allocations: 0.6449 MB / 1.005 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.3294, allocations: 37.7 kB / 1.005 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/0.3299, allocations: 496 kB / 1.006 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.3301, allocations: 186.4 kB / 1.006 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.3303, allocations: 110.2 kB / 1.006 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003841/0.3307, allocations: 382.8 kB / 1.007 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.3312, allocations: 241.2 kB / 1.007 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.3319, allocations: 404.6 kB / 1.007 GB, free: 7.984 MB / 0.9636 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.004255/0.3361, allocations: 1.464 MB / 1.009 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.3362, allocations: 0 / 1.009 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00175/0.3379, allocations: 0.7994 MB / 1.009 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3379, allocations: 8 kB / 1.009 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3379, allocations: 0 / 1.009 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.3383, allocations: 93.64 kB / 1.01 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/0.339, allocations: 143.8 kB / 1.01 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.3428, allocations: 3.039 MB / 1.013 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008439/0.3437, allocations: 28.2 kB / 1.013 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.3437, allocations: 23.98 kB / 1.013 GB, free: 2.129 MB / 0.9636 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: 12 * 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 (67): * Single equations (assignments): 65 * 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005828/0.3443, allocations: 301.5 kB / 1.013 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.3446, allocations: 107.4 kB / 1.013 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.3448, allocations: 91.34 kB / 1.013 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3448, allocations: 4 kB / 1.013 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3448, allocations: 0 / 1.013 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/0.3463, allocations: 0.8441 MB / 1.014 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.3498, allocations: 1.532 MB / 1.015 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.3498, allocations: 4.188 kB / 1.015 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.3506, allocations: 131.8 kB / 1.016 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002731/0.3508, allocations: 68.8 kB / 1.016 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.3509, allocations: 19.94 kB / 1.016 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.353, allocations: 1.644 MB / 1.017 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.353, allocations: 7.938 kB / 1.017 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.3551, allocations: 1.076 MB / 1.018 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005077/0.3556, allocations: 151.6 kB / 1.018 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.3558, allocations: 12 kB / 1.019 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/0.3565, allocations: 32.17 kB / 1.019 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3567, allocations: 51.8 kB / 1.019 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-05/0.3568, allocations: 27.98 kB / 1.019 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007312/0.3575, allocations: 451 kB / 1.019 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3575, allocations: 0 / 1.019 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001104/0.3586, allocations: 283.9 kB / 1.019 GB, free: 10.98 MB / 0.9792 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 (45): * Single equations (assignments): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004504/0.3591, allocations: 182.2 kB / 1.019 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.3609, allocations: 0.7883 MB / 1.02 GB, free: 9.984 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.3609, allocations: 4 kB / 1.02 GB, free: 9.98 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007429/0.3616, allocations: 403.5 kB / 1.021 GB, free: 9.574 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.3642, allocations: 0.4932 MB / 1.021 GB, free: 9.094 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.3677, allocations: 1.761 MB / 1.023 GB, free: 7.25 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.3685, allocations: 0.4922 MB / 1.023 GB, free: 6.727 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000859/0.3693, allocations: 186.3 kB / 1.024 GB, free: 6.539 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.3696, allocations: 60.5 kB / 1.024 GB, free: 6.48 MB / 0.9792 GB Notification: Performance of SimCode: time 1.623e-06/0.3696, allocations: 0 / 1.024 GB, free: 6.48 MB / 0.9792 GB Notification: Performance of Templates: time 0.03652/0.4061, allocations: 18.24 MB / 1.041 GB, free: 4.699 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.542247258941643]