Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00186/0.00186, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002123/0.002123, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.601/1.601, allocations: 177.1 MB / 203.1 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.666/3.666, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 175] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.849e-05, allocations: 4.312 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9284/0.9285, allocations: 187.6 MB / 1.061 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008528/0.937, allocations: 5.84 MB / 1.066 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.9386, allocations: 58.81 kB / 1.066 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.9401, allocations: 0.5628 MB / 1.067 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.945, allocations: 1.979 MB / 1.069 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.9481, allocations: 1.237 MB / 1.07 GB, free: 47.42 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004546/0.9527, allocations: 3.039 MB / 1.073 GB, free: 47.32 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.9541, allocations: 0.7584 MB / 1.074 GB, free: 47.27 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.9576, allocations: 1.666 MB / 1.075 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.9599, allocations: 0.8845 MB / 1.076 GB, free: 47.02 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.9601, allocations: 110.8 kB / 1.076 GB, free: 47.02 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.9629, allocations: 1.198 MB / 1.078 GB, free: 46.9 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004663/0.9634, allocations: 0.4977 MB / 1.078 GB, free: 46.84 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006712/0.9641, allocations: 489.4 kB / 1.079 GB, free: 46.79 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003357/0.9674, allocations: 2.192 MB / 1.081 GB, free: 46.61 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9674, allocations: 3.188 kB / 1.081 GB, free: 46.61 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9674, allocations: 3.719 kB / 1.081 GB, free: 46.61 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.9674, allocations: 0 / 1.081 GB, free: 46.61 MB / 1.01 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.002324/0.9698, allocations: 1.647 MB / 1.082 GB, free: 45.79 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.9698, allocations: 9.719 kB / 1.082 GB, free: 45.79 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.9718, allocations: 429.6 kB / 1.083 GB, free: 45.68 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.9732, allocations: 0.8211 MB / 1.084 GB, free: 45.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.9732, allocations: 61.53 kB / 1.084 GB, free: 45.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.9734, allocations: 92.59 kB / 1.084 GB, free: 45.41 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.9747, allocations: 1.206 MB / 1.085 GB, free: 44.73 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.9747, allocations: 0 / 1.085 GB, free: 44.73 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.9748, allocations: 42.25 kB / 1.085 GB, free: 44.73 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.9749, allocations: 30.69 kB / 1.085 GB, free: 44.73 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.9759, allocations: 0.5667 MB / 1.085 GB, free: 44.72 MB / 1.01 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.004835/0.9808, allocations: 2.691 MB / 1.088 GB, free: 44.18 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.9813, allocations: 386.4 kB / 1.088 GB, free: 44.14 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.9817, allocations: 207.9 kB / 1.089 GB, free: 44.12 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.9818, allocations: 33.97 kB / 1.089 GB, free: 44.12 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.9819, allocations: 46.73 kB / 1.089 GB, free: 44.07 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 2.294e-06/0.9819, allocations: 0.9062 kB / 1.089 GB, free: 44.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.003248/0.9851, allocations: 1.394 MB / 1.09 GB, free: 43.66 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.9851, allocations: 60.22 kB / 1.09 GB, free: 43.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.9859, allocations: 0.781 MB / 1.091 GB, free: 43.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.986, allocations: 38.11 kB / 1.091 GB, free: 43.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.9863, allocations: 0.573 MB / 1.092 GB, free: 43.07 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.9865, allocations: 191.9 kB / 1.092 GB, free: 42.96 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.9867, allocations: 135.8 kB / 1.092 GB, free: 42.93 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.987, allocations: 0.6073 MB / 1.092 GB, free: 42.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.9873, allocations: 156 kB / 1.093 GB, free: 42.43 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.9878, allocations: 369.9 kB / 1.093 GB, free: 42.22 MB / 1.01 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.003288/0.991, allocations: 1.161 MB / 1.094 GB, free: 42.06 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.991, allocations: 1.906 kB / 1.094 GB, free: 42.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001168/0.9922, allocations: 0.619 MB / 1.095 GB, free: 41.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.9922, allocations: 7.188 kB / 1.095 GB, free: 41.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9922, allocations: 2.188 kB / 1.095 GB, free: 41.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/0.9925, allocations: 86.83 kB / 1.095 GB, free: 41.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.9931, allocations: 129.1 kB / 1.095 GB, free: 41.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.9955, allocations: 3.879 MB / 1.099 GB, free: 38.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009145/0.9964, allocations: 22.02 kB / 1.099 GB, free: 38.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.9965, allocations: 21.06 kB / 1.099 GB, free: 38.48 MB / 1.01 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.00053/0.997, allocations: 280 kB / 1.099 GB, free: 38.32 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.9972, allocations: 95.75 kB / 1.099 GB, free: 38.28 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.9973, allocations: 85.2 kB / 1.099 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9973, allocations: 5.375 kB / 1.099 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9973, allocations: 0 / 1.099 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008062/0.9982, allocations: 0.7132 MB / 1.1 GB, free: 37.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/1.001, allocations: 1.645 MB / 1.101 GB, free: 37.33 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.001, allocations: 8.125 kB / 1.101 GB, free: 37.33 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/1.001, allocations: 117.5 kB / 1.102 GB, free: 37.33 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/1.002, allocations: 65.39 kB / 1.102 GB, free: 37.32 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/1.002, allocations: 13.47 kB / 1.102 GB, free: 37.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/1.003, allocations: 2.055 MB / 1.104 GB, free: 35.59 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.003, allocations: 3.25 kB / 1.104 GB, free: 35.59 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/1.004, allocations: 0.9365 MB / 1.105 GB, free: 35.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/1.005, allocations: 148 kB / 1.105 GB, free: 35.13 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.005, allocations: 14.84 kB / 1.105 GB, free: 35.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/1.006, allocations: 34.5 kB / 1.105 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/1.006, allocations: 50.84 kB / 1.105 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/1.006, allocations: 30.3 kB / 1.105 GB, free: 35.12 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005959/1.006, allocations: 490.5 kB / 1.105 GB, free: 34.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/1.006, allocations: 0 / 1.105 GB, free: 34.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001062/1.007, allocations: 286.2 kB / 1.106 GB, free: 34.98 MB / 1.01 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.0003547/1.008, allocations: 178 kB / 1.106 GB, free: 34.89 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001189/1.009, allocations: 0.7863 MB / 1.107 GB, free: 34.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.009, allocations: 2.406 kB / 1.107 GB, free: 34.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004974/1.009, allocations: 422.6 kB / 1.107 GB, free: 34.34 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.012, allocations: 0.5089 MB / 1.107 GB, free: 34.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/1.015, allocations: 1.685 MB / 1.109 GB, free: 33.43 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/1.015, allocations: 480 kB / 1.11 GB, free: 33.33 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007215/1.016, allocations: 169.7 kB / 1.11 GB, free: 33.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/1.016, allocations: 63.19 kB / 1.11 GB, free: 33.29 MB / 1.01 GB Notification: Performance of SimCode: time 1.503e-06/1.016, allocations: 0 / 1.11 GB, free: 33.29 MB / 1.01 GB Notification: Performance of Templates: time 0.03522/1.051, allocations: 18.49 MB / 1.128 GB, free: 31.42 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.575130135985091]