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.001887/0.001887, allocations: 88.72 kB / 19.44 MB, free: 352 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.002482/0.002482, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.178/3.178, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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.242e-06/1.242e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.077e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2554/0.2555, allocations: 168.4 MB / 1.042 GB, free: 13.49 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.2668, allocations: 5.46 MB / 1.047 GB, free: 8.023 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.2682, allocations: 55.56 kB / 1.047 GB, free: 7.969 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.2701, allocations: 0.5667 MB / 1.048 GB, free: 7.398 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005961/0.2761, allocations: 1.978 MB / 1.05 GB, free: 5.41 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.2798, allocations: 1.235 MB / 1.051 GB, free: 4.172 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.2847, allocations: 3.042 MB / 1.054 GB, free: 1.117 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.2863, allocations: 0.7556 MB / 1.055 GB, free: 356 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4263/0.7126, allocations: 1.66 MB / 1.056 GB, free: 48.03 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.7145, allocations: 0.862 MB / 1.057 GB, free: 48.03 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.7147, allocations: 109.9 kB / 1.057 GB, free: 48.03 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.7169, allocations: 1.196 MB / 1.059 GB, free: 48.03 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.7173, allocations: 0.4939 MB / 1.059 GB, free: 48.03 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.7179, allocations: 476.6 kB / 1.06 GB, free: 48.03 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.7206, allocations: 2.175 MB / 1.062 GB, free: 48.01 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7206, allocations: 6.531 kB / 1.062 GB, free: 48.01 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.562e-06/0.7206, allocations: 1.031 kB / 1.062 GB, free: 48.01 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.7207, allocations: 3.188 kB / 1.062 GB, free: 48.01 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.002045/0.7227, allocations: 1.459 MB / 1.063 GB, free: 47.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.7227, allocations: 9.375 kB / 1.063 GB, free: 47.3 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.7246, allocations: 421.9 kB / 1.063 GB, free: 47.2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.7259, allocations: 0.8365 MB / 1.064 GB, free: 46.94 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.7259, allocations: 69.66 kB / 1.064 GB, free: 46.94 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.7261, allocations: 90.88 kB / 1.064 GB, free: 46.94 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.7275, allocations: 1.361 MB / 1.066 GB, free: 46.32 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.7275, allocations: 1.031 kB / 1.066 GB, free: 46.32 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.7276, allocations: 36.94 kB / 1.066 GB, free: 46.32 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.7276, allocations: 39.39 kB / 1.066 GB, free: 46.32 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.7288, allocations: 0.8219 MB / 1.067 GB, free: 46.31 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.004026/0.7328, allocations: 2.414 MB / 1.069 GB, free: 45.89 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.7334, allocations: 477.8 kB / 1.069 GB, free: 45.87 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.7338, allocations: 280.7 kB / 1.07 GB, free: 45.86 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.7339, allocations: 30.67 kB / 1.07 GB, free: 45.86 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.7339, allocations: 40.84 kB / 1.07 GB, free: 45.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 1.764e-06/0.7339, allocations: 1.156 kB / 1.07 GB, free: 45.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.00341/0.7374, allocations: 1.719 MB / 1.072 GB, free: 45.43 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.7374, allocations: 61.12 kB / 1.072 GB, free: 45.36 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.738, allocations: 0.6459 MB / 1.072 GB, free: 45.23 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.738, allocations: 38.98 kB / 1.072 GB, free: 45.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.7382, allocations: 493.4 kB / 1.073 GB, free: 44.95 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.7383, allocations: 184.6 kB / 1.073 GB, free: 44.83 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.7385, allocations: 110.2 kB / 1.073 GB, free: 44.81 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.7386, allocations: 378.9 kB / 1.073 GB, free: 44.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.7389, allocations: 245.9 kB / 1.074 GB, free: 44.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.7394, allocations: 407.8 kB / 1.074 GB, free: 44.34 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.003296/0.7427, allocations: 1.452 MB / 1.075 GB, free: 44.23 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.7427, allocations: 7.75 kB / 1.075 GB, free: 44.22 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001154/0.7438, allocations: 0.7853 MB / 1.076 GB, free: 44.12 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7438, allocations: 8.281 kB / 1.076 GB, free: 44.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7438, allocations: 2.156 kB / 1.076 GB, free: 44.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/0.7441, allocations: 102.8 kB / 1.076 GB, free: 44.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.7447, allocations: 143.4 kB / 1.076 GB, free: 44.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.7468, allocations: 3.042 MB / 1.079 GB, free: 41.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.7476, allocations: 23.48 kB / 1.079 GB, free: 41.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.7476, allocations: 22.69 kB / 1.079 GB, free: 41.75 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.0004292/0.7481, allocations: 304.3 kB / 1.08 GB, free: 41.63 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.7482, allocations: 102 kB / 1.08 GB, free: 41.58 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.7484, allocations: 87.8 kB / 1.08 GB, free: 41.56 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7484, allocations: 5.312 kB / 1.08 GB, free: 41.56 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7484, allocations: 1.031 kB / 1.08 GB, free: 41.56 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008482/0.7492, allocations: 0.8426 MB / 1.081 GB, free: 41.11 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.7515, allocations: 1.539 MB / 1.082 GB, free: 40.76 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7515, allocations: 2.531 kB / 1.082 GB, free: 40.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.7521, allocations: 128.3 kB / 1.082 GB, free: 40.76 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.7523, allocations: 70.25 kB / 1.082 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.7523, allocations: 19.44 kB / 1.082 GB, free: 40.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.7535, allocations: 1.649 MB / 1.084 GB, free: 39.56 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7535, allocations: 5.25 kB / 1.084 GB, free: 39.56 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.7549, allocations: 1.076 MB / 1.085 GB, free: 39.26 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.7552, allocations: 140.8 kB / 1.085 GB, free: 39.22 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.7553, allocations: 15.38 kB / 1.085 GB, free: 39.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.7559, allocations: 30.97 kB / 1.085 GB, free: 39.22 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.756, allocations: 49.78 kB / 1.085 GB, free: 39.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/0.7561, allocations: 34.12 kB / 1.085 GB, free: 39.22 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004374/0.7565, allocations: 453.7 kB / 1.086 GB, free: 39.13 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.7565, allocations: 0 / 1.086 GB, free: 39.13 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008546/0.7574, allocations: 283.4 kB / 1.086 GB, free: 39.13 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.0003235/0.7577, allocations: 176.3 kB / 1.086 GB, free: 39.04 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.7588, allocations: 0.7797 MB / 1.087 GB, free: 38.81 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7588, allocations: 2.438 kB / 1.087 GB, free: 38.81 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.7594, allocations: 402.3 kB / 1.087 GB, free: 38.69 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.7616, allocations: 0.4959 MB / 1.088 GB, free: 38.66 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.7641, allocations: 1.748 MB / 1.09 GB, free: 37.87 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.7647, allocations: 0.4897 MB / 1.09 GB, free: 37.76 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006751/0.7653, allocations: 194.7 kB / 1.09 GB, free: 37.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.7655, allocations: 63.91 kB / 1.09 GB, free: 37.72 MB / 1.01 GB Notification: Performance of SimCode: time 1.182e-06/0.7655, allocations: 0 / 1.09 GB, free: 37.72 MB / 1.01 GB Notification: Performance of Templates: time 0.03374/0.7992, allocations: 18.22 MB / 1.108 GB, free: 35.99 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 800] 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: 9.378717676037923]