Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008574/0.0008574, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007986/0.0007986, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8771/0.8771, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9518 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.699e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6752/0.6752, allocations: 168.3 MB / 1.116 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006755/0.682, allocations: 5.43 MB / 1.121 GB, free: 29.35 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006778/0.6827, allocations: 58.41 kB / 1.122 GB, free: 29.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.6838, allocations: 0.5647 MB / 1.122 GB, free: 29.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.6866, allocations: 1.969 MB / 1.124 GB, free: 27.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.6886, allocations: 1.248 MB / 1.125 GB, free: 27.25 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.6909, allocations: 3.047 MB / 1.128 GB, free: 25.82 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.6916, allocations: 0.7438 MB / 1.129 GB, free: 25.46 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.693, allocations: 1.457 MB / 1.13 GB, free: 24.81 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.6943, allocations: 0.8701 MB / 1.131 GB, free: 24.53 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.6944, allocations: 107.7 kB / 1.131 GB, free: 24.53 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.6963, allocations: 1.215 MB / 1.132 GB, free: 24.08 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.6966, allocations: 0.4976 MB / 1.133 GB, free: 23.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.6971, allocations: 476.8 kB / 1.133 GB, free: 23.66 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.6992, allocations: 2.168 MB / 1.136 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6992, allocations: 0 / 1.136 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6992, allocations: 0.6562 kB / 1.136 GB, free: 22.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.6992, allocations: 1.094 kB / 1.136 GB, free: 22.91 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001634/0.7009, allocations: 1.462 MB / 1.137 GB, free: 21.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.7009, allocations: 9.906 kB / 1.137 GB, free: 21.99 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.702, allocations: 330 kB / 1.137 GB, free: 21.89 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/0.7029, allocations: 0.7798 MB / 1.138 GB, free: 21.43 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.703, allocations: 65.48 kB / 1.138 GB, free: 21.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.7031, allocations: 84.16 kB / 1.138 GB, free: 21.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.7044, allocations: 1.357 MB / 1.14 GB, free: 20.47 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.7044, allocations: 0 / 1.14 GB, free: 20.47 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-05/0.7044, allocations: 37.16 kB / 1.14 GB, free: 20.45 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.7045, allocations: 36.64 kB / 1.14 GB, free: 20.44 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.7056, allocations: 0.8278 MB / 1.14 GB, free: 20.16 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.002961/0.7085, allocations: 2.376 MB / 1.143 GB, free: 19.03 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.709, allocations: 479.9 kB / 1.143 GB, free: 18.82 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.7094, allocations: 275.3 kB / 1.143 GB, free: 18.73 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.7095, allocations: 22.02 kB / 1.143 GB, free: 18.73 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.7095, allocations: 49.55 kB / 1.143 GB, free: 18.68 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=47): time 1.703e-06/0.7095, allocations: 0 / 1.143 GB, free: 18.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=49): time 0.00229/0.7118, allocations: 1.692 MB / 1.145 GB, free: 17.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.7118, allocations: 61 kB / 1.145 GB, free: 17.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.7123, allocations: 0.6497 MB / 1.146 GB, free: 17.51 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.7124, allocations: 37.89 kB / 1.146 GB, free: 17.47 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.7126, allocations: 0.49 MB / 1.146 GB, free: 17.08 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.948e-05/0.7127, allocations: 181.6 kB / 1.147 GB, free: 16.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.7128, allocations: 109.3 kB / 1.147 GB, free: 16.87 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.7128, allocations: 383 kB / 1.147 GB, free: 16.53 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.7131, allocations: 244.5 kB / 1.147 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.7135, allocations: 403 kB / 1.148 GB, free: 16.19 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.002061/0.7155, allocations: 1.46 MB / 1.149 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7155, allocations: 4 kB / 1.149 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008169/0.7164, allocations: 0.7679 MB / 1.15 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7164, allocations: 9.688 kB / 1.15 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7164, allocations: 2.406 kB / 1.15 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.7166, allocations: 99.42 kB / 1.15 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.7169, allocations: 142.5 kB / 1.15 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/0.7184, allocations: 3.039 MB / 1.153 GB, free: 12.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.7187, allocations: 25.8 kB / 1.153 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.7188, allocations: 26.62 kB / 1.153 GB, free: 12.56 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: 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.000267/0.719, allocations: 300.3 kB / 1.153 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.7191, allocations: 83.59 kB / 1.153 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.7192, allocations: 89.98 kB / 1.154 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.7192, allocations: 5.156 kB / 1.154 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7192, allocations: 1.062 kB / 1.154 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006218/0.7198, allocations: 0.8439 MB / 1.154 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.7215, allocations: 1.532 MB / 1.156 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7215, allocations: 4.438 kB / 1.156 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.7219, allocations: 134.1 kB / 1.156 GB, free: 10.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.722, allocations: 66.88 kB / 1.156 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.722, allocations: 15.72 kB / 1.156 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007476/0.7227, allocations: 1.651 MB / 1.158 GB, free: 9.402 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7227, allocations: 7.625 kB / 1.158 GB, free: 9.398 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009493/0.7237, allocations: 1.045 MB / 1.159 GB, free: 8.832 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.7239, allocations: 146.7 kB / 1.159 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.724, allocations: 23.88 kB / 1.159 GB, free: 8.742 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.7243, allocations: 32.92 kB / 1.159 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.7244, allocations: 49.69 kB / 1.159 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.7244, allocations: 29.61 kB / 1.159 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003506/0.7248, allocations: 451.1 kB / 1.159 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.7248, allocations: 0 / 1.159 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006358/0.7254, allocations: 284.2 kB / 1.16 GB, free: 8.492 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 (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.000273/0.7257, allocations: 180.9 kB / 1.16 GB, free: 8.367 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008244/0.7265, allocations: 0.778 MB / 1.161 GB, free: 7.961 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7265, allocations: 1.188 kB / 1.161 GB, free: 7.961 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.7268, allocations: 409 kB / 1.161 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.7281, allocations: 0.4918 MB / 1.161 GB, free: 7.609 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.7299, allocations: 1.801 MB / 1.163 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.7303, allocations: 498.7 kB / 1.164 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.7304, allocations: 64 kB / 1.164 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of SimCode: time 7.31e-07/0.7304, allocations: 1.125 kB / 1.164 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of Templates: time 0.01809/0.7485, allocations: 20.96 MB / 1.184 GB, free: 15.48 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 9.237389924935997]