Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.0008343/0.0008343, 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.0008019/0.0008019, allocations: 178.2 kB / 23.22 MB, free: 1.344 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.8656/0.8656, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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 1.732/1.732, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] 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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.46e-05, allocations: 9.172 kB / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.633/0.633, allocations: 168.4 MB / 1.147 GB, free: 15.37 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008645/0.6417, allocations: 5.439 MB / 1.152 GB, free: 11.67 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.6431, allocations: 53.69 kB / 1.152 GB, free: 11.64 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.6444, allocations: 0.5667 MB / 1.153 GB, free: 11.32 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.6486, allocations: 1.735 MB / 1.154 GB, free: 10.36 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.6516, allocations: 1.275 MB / 1.156 GB, free: 9.691 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003806/0.6554, allocations: 2.64 MB / 1.158 GB, free: 8.457 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.6566, allocations: 0.6831 MB / 1.159 GB, free: 8.137 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.6596, allocations: 1.587 MB / 1.16 GB, free: 7.426 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.6612, allocations: 0.7419 MB / 1.161 GB, free: 7.191 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.6614, allocations: 96.5 kB / 1.161 GB, free: 7.191 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.664, allocations: 1.287 MB / 1.162 GB, free: 6.754 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.6645, allocations: 438 kB / 1.163 GB, free: 6.547 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005859/0.6651, allocations: 425.5 kB / 1.163 GB, free: 6.379 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.6686, allocations: 2.068 MB / 1.165 GB, free: 5.672 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6686, allocations: 0 / 1.165 GB, free: 5.672 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6686, allocations: 5.188 kB / 1.165 GB, free: 5.668 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.6686, allocations: 0 / 1.165 GB, free: 5.668 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00238/0.671, allocations: 1.383 MB / 1.167 GB, free: 4.77 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.671, allocations: 9.062 kB / 1.167 GB, free: 4.77 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.6726, allocations: 420 kB / 1.167 GB, free: 4.684 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.6739, allocations: 0.7317 MB / 1.168 GB, free: 4.254 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.674, allocations: 60.19 kB / 1.168 GB, free: 4.223 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6741, allocations: 73.38 kB / 1.168 GB, free: 4.199 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.6758, allocations: 1.356 MB / 1.169 GB, free: 3.352 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.6758, allocations: 3.438 kB / 1.169 GB, free: 3.352 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.6759, allocations: 39.11 kB / 1.169 GB, free: 3.324 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.6759, allocations: 32.92 kB / 1.169 GB, free: 3.316 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.6773, allocations: 0.8681 MB / 1.17 GB, free: 3.051 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.00416/0.6815, allocations: 2.613 MB / 1.173 GB, free: 1.676 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.6825, allocations: 0.5915 MB / 1.173 GB, free: 1.473 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.683, allocations: 317.1 kB / 1.174 GB, free: 1.375 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.6831, allocations: 24.69 kB / 1.174 GB, free: 1.371 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.6831, allocations: 46.5 kB / 1.174 GB, free: 1.324 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 3.887e-06/0.6831, allocations: 7.984 kB / 1.174 GB, free: 1.316 MB / 1.01 GB Notification: Performance of matching and sorting (n=41): time 0.004755/0.6879, allocations: 2.236 MB / 1.176 GB, free: 496 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.6879, allocations: 59.69 kB / 1.176 GB, free: 428 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/0.6886, allocations: 0.6307 MB / 1.176 GB, free: 140 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.6886, allocations: 33.39 kB / 1.177 GB, free: 104 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.6889, allocations: 467.6 kB / 1.177 GB, free: 15.73 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.689, allocations: 150.8 kB / 1.177 GB, free: 15.61 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.6892, allocations: 102.8 kB / 1.177 GB, free: 15.56 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6893, allocations: 377.5 kB / 1.178 GB, free: 15.22 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.6897, allocations: 306.3 kB / 1.178 GB, free: 15.13 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.6903, allocations: 458.2 kB / 1.178 GB, free: 14.87 MB / 1.026 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.003033/0.6933, allocations: 1.797 MB / 1.18 GB, free: 14.29 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6933, allocations: 1.469 kB / 1.18 GB, free: 14.29 MB / 1.026 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00221/0.6955, allocations: 1.031 MB / 1.181 GB, free: 13.94 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6956, allocations: 5.656 kB / 1.181 GB, free: 13.94 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.6956, allocations: 2.812 kB / 1.181 GB, free: 13.94 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.6959, allocations: 189.2 kB / 1.181 GB, free: 13.89 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.6963, allocations: 145.4 kB / 1.181 GB, free: 13.88 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.6987, allocations: 2.088 MB / 1.183 GB, free: 12.37 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.6994, allocations: 52.84 kB / 1.183 GB, free: 12.36 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.6994, allocations: 27.47 kB / 1.183 GB, free: 12.35 MB / 1.026 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0004949/0.6999, allocations: 276.1 kB / 1.184 GB, free: 12.16 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.7, allocations: 77.62 kB / 1.184 GB, free: 12.12 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.7001, allocations: 86.22 kB / 1.184 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7001, allocations: 3.312 kB / 1.184 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7001, allocations: 1.156 kB / 1.184 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001542/0.7017, allocations: 0.8966 MB / 1.185 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.7049, allocations: 1.871 MB / 1.187 GB, free: 10.87 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.7049, allocations: 3.656 kB / 1.187 GB, free: 10.87 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.7053, allocations: 118.8 kB / 1.187 GB, free: 10.86 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003481/0.7056, allocations: 195.8 kB / 1.187 GB, free: 10.81 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.7056, allocations: 12.03 kB / 1.187 GB, free: 10.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.7077, allocations: 2.04 MB / 1.189 GB, free: 9.309 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.7078, allocations: 3.625 kB / 1.189 GB, free: 9.309 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.7101, allocations: 1.405 MB / 1.19 GB, free: 8.684 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.7105, allocations: 145.9 kB / 1.19 GB, free: 8.613 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.7106, allocations: 13.31 kB / 1.19 GB, free: 8.605 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.7111, allocations: 59.17 kB / 1.191 GB, free: 8.598 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.7112, allocations: 46.42 kB / 1.191 GB, free: 8.582 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.7112, allocations: 30.03 kB / 1.191 GB, free: 8.578 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004964/0.7117, allocations: 440.8 kB / 1.191 GB, free: 8.383 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.7117, allocations: 0 / 1.191 GB, free: 8.383 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0009597/0.7127, allocations: 270 kB / 1.191 GB, free: 8.359 MB / 1.026 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 (37): * Single equations (assignments): 36 * 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.0003611/0.713, allocations: 203.8 kB / 1.191 GB, free: 8.23 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.7143, allocations: 0.7754 MB / 1.192 GB, free: 7.93 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.7143, allocations: 2.875 kB / 1.192 GB, free: 7.93 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.7148, allocations: 456.7 kB / 1.193 GB, free: 7.707 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.716, allocations: 422 kB / 1.193 GB, free: 7.602 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.7191, allocations: 1.878 MB / 1.195 GB, free: 6.457 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.7194, allocations: 450.3 kB / 1.195 GB, free: 6.199 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.7196, allocations: 61.86 kB / 1.195 GB, free: 6.188 MB / 1.026 GB Notification: Performance of SimCode: time 1.262e-06/0.7196, allocations: 0 / 1.195 GB, free: 6.188 MB / 1.026 GB Notification: Performance of Templates: time 0.01743/0.737, allocations: 17.78 MB / 1.213 GB, free: 12.85 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.845231514424086]