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.001591/0.001591, allocations: 116.1 kB / 17.13 MB, free: 5.945 MB / 14.72 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.001677/0.001677, allocations: 209.5 kB / 20.09 MB, free: 2.996 MB / 14.72 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.823/2.823, allocations: 0.49 GB / 0.7923 GB, free: 1.453 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 59.91 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9053/0.9074, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2447/1.152, allocations: 194.3 MB / 1.512 GB, free: 6.914 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01133/1.163, allocations: 5.77 MB / 1.517 GB, free: 1.133 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/1.165, allocations: 63.5 kB / 1.517 GB, free: 1.07 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/1.167, allocations: 0.602 MB / 1.518 GB, free: 476 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004698/1.171, allocations: 1.688 MB / 1.52 GB, free: 14.77 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/1.175, allocations: 1.234 MB / 1.521 GB, free: 13.54 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00401/1.179, allocations: 2.558 MB / 1.523 GB, free: 10.98 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/1.18, allocations: 0.7379 MB / 1.524 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/1.183, allocations: 1.269 MB / 1.525 GB, free: 8.957 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/1.185, allocations: 0.8576 MB / 1.526 GB, free: 8.102 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/1.185, allocations: 96 kB / 1.526 GB, free: 8.008 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003201/1.188, allocations: 1.602 MB / 1.528 GB, free: 6.402 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004992/1.188, allocations: 414.8 kB / 1.528 GB, free: 5.996 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008311/1.189, allocations: 0.5872 MB / 1.529 GB, free: 5.406 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003539/1.193, allocations: 2.028 MB / 1.531 GB, free: 3.371 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.193, allocations: 4 kB / 1.531 GB, free: 3.367 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.553e-06/1.193, allocations: 0 / 1.531 GB, free: 3.367 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.399e-05/1.193, allocations: 0 / 1.531 GB, free: 3.367 MB / 1.201 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.002583/1.195, allocations: 1.467 MB / 1.532 GB, free: 1.848 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/1.195, allocations: 8.031 kB / 1.532 GB, free: 1.84 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/1.198, allocations: 426.8 kB / 1.533 GB, free: 1.422 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/1.2, allocations: 0.8123 MB / 1.533 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/1.2, allocations: 54 kB / 1.533 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.2, allocations: 76 kB / 1.534 GB, free: 448 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/1.202, allocations: 0.9827 MB / 1.534 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/1.202, allocations: 4 kB / 1.534 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/1.202, allocations: 32 kB / 1.535 GB, free: 15.4 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/1.202, allocations: 33.97 kB / 1.535 GB, free: 15.37 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/1.204, allocations: 0.8705 MB / 1.535 GB, free: 14.49 MB / 1.217 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.006342/1.21, allocations: 3.49 MB / 1.539 GB, free: 10.82 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/1.212, allocations: 0.5852 MB / 1.539 GB, free: 10.23 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/1.213, allocations: 323.1 kB / 1.54 GB, free: 9.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/1.213, allocations: 105.4 kB / 1.54 GB, free: 9.789 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/1.213, allocations: 47.22 kB / 1.54 GB, free: 9.734 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/1.213, allocations: 0 / 1.54 GB, free: 9.734 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.00844/1.222, allocations: 2.4 MB / 1.542 GB, free: 7.258 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/1.222, allocations: 63.39 kB / 1.542 GB, free: 7.184 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.223, allocations: 0.7979 MB / 1.543 GB, free: 6.379 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/1.223, allocations: 37.7 kB / 1.543 GB, free: 6.336 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/1.223, allocations: 448.5 kB / 1.543 GB, free: 5.891 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/1.223, allocations: 154.7 kB / 1.544 GB, free: 5.738 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.224, allocations: 102.2 kB / 1.544 GB, free: 5.633 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.224, allocations: 326 kB / 1.544 GB, free: 5.309 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008372/1.225, allocations: 304.9 kB / 1.544 GB, free: 5.008 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009364/1.226, allocations: 412 kB / 1.545 GB, free: 4.574 MB / 1.217 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.005626/1.231, allocations: 1.867 MB / 1.547 GB, free: 2.656 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.231, allocations: 4 kB / 1.547 GB, free: 2.652 MB / 1.217 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003407/1.235, allocations: 1.039 MB / 1.548 GB, free: 1.602 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.235, allocations: 8 kB / 1.548 GB, free: 1.594 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/1.235, allocations: 4.094 kB / 1.548 GB, free: 1.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/1.235, allocations: 188.7 kB / 1.548 GB, free: 1.402 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007218/1.236, allocations: 147.8 kB / 1.548 GB, free: 1.258 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/1.24, allocations: 2.228 MB / 1.55 GB, free: 14.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/1.241, allocations: 47.95 kB / 1.55 GB, free: 14.85 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/1.241, allocations: 27.98 kB / 1.55 GB, free: 14.82 MB / 1.232 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.0004895/1.242, allocations: 269.6 kB / 1.55 GB, free: 14.55 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/1.242, allocations: 99.36 kB / 1.55 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/1.242, allocations: 96.23 kB / 1.551 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.242, allocations: 4 kB / 1.551 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.242, allocations: 0 / 1.551 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003044/1.245, allocations: 0.8948 MB / 1.551 GB, free: 13.42 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005627/1.251, allocations: 2.115 MB / 1.554 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.251, allocations: 4 kB / 1.554 GB, free: 11.2 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006664/1.252, allocations: 128.2 kB / 1.554 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005941/1.252, allocations: 180.7 kB / 1.554 GB, free: 10.89 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/1.252, allocations: 15.98 kB / 1.554 GB, free: 10.88 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/1.256, allocations: 2.199 MB / 1.556 GB, free: 8.539 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.256, allocations: 4 kB / 1.556 GB, free: 8.535 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/1.261, allocations: 1.409 MB / 1.557 GB, free: 7.062 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/1.261, allocations: 244.4 kB / 1.558 GB, free: 6.805 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.261, allocations: 20.06 kB / 1.558 GB, free: 6.785 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008872/1.262, allocations: 55.94 kB / 1.558 GB, free: 6.73 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.262, allocations: 39.89 kB / 1.558 GB, free: 6.691 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.262, allocations: 27.98 kB / 1.558 GB, free: 6.664 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000805/1.263, allocations: 0.5576 MB / 1.558 GB, free: 6.109 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.263, allocations: 0 / 1.558 GB, free: 6.109 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009376/1.264, allocations: 271.9 kB / 1.559 GB, free: 5.844 MB / 1.232 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.0003991/1.264, allocations: 198.1 kB / 1.559 GB, free: 5.645 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002235/1.267, allocations: 0.7705 MB / 1.559 GB, free: 4.859 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.267, allocations: 4 kB / 1.559 GB, free: 4.855 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.268, allocations: 451.5 kB / 1.56 GB, free: 4.402 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/1.271, allocations: 0.5524 MB / 1.56 GB, free: 3.859 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/1.276, allocations: 1.998 MB / 1.562 GB, free: 1.785 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/1.277, allocations: 1.04 MB / 1.563 GB, free: 0.7148 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/1.277, allocations: 67.42 kB / 1.563 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of SimCode: time 1.282e-06/1.277, allocations: 0 / 1.563 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of Templates: time 0.0284/1.305, allocations: 19.07 MB / 1.582 GB, free: 13.72 MB / 1.264 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/jenkins1/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: 15.225479831002303]