Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002117/0.002117, allocations: 109 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.89 kB / 1.103 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2371/1.247, allocations: 190.5 MB / 1.449 GB, free: 8.473 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01067/1.257, allocations: 5.732 MB / 1.454 GB, free: 3.762 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/1.259, allocations: 39.75 kB / 1.454 GB, free: 3.723 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/1.261, allocations: 0.5747 MB / 1.455 GB, free: 3.145 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005081/1.266, allocations: 1.61 MB / 1.456 GB, free: 1.527 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003812/1.27, allocations: 1.205 MB / 1.458 GB, free: 340 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004206/1.274, allocations: 2.566 MB / 1.46 GB, free: 13.76 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/1.276, allocations: 1.032 MB / 1.461 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/1.279, allocations: 1.199 MB / 1.462 GB, free: 11.51 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/1.281, allocations: 0.8453 MB / 1.463 GB, free: 10.67 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/1.281, allocations: 108 kB / 1.463 GB, free: 10.56 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/1.285, allocations: 1.544 MB / 1.465 GB, free: 9.016 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007404/1.286, allocations: 0.491 MB / 1.465 GB, free: 8.523 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/1.287, allocations: 0.6417 MB / 1.466 GB, free: 7.879 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00455/1.292, allocations: 2.188 MB / 1.468 GB, free: 5.684 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.292, allocations: 0 / 1.468 GB, free: 5.684 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.693e-06/1.292, allocations: 4 kB / 1.468 GB, free: 5.68 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.932e-05/1.292, allocations: 0 / 1.468 GB, free: 5.68 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002882/1.295, allocations: 1.556 MB / 1.47 GB, free: 4.066 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.295, allocations: 11.97 kB / 1.47 GB, free: 4.055 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/1.298, allocations: 482.7 kB / 1.47 GB, free: 3.582 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/1.299, allocations: 0.8598 MB / 1.471 GB, free: 2.68 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/1.3, allocations: 62 kB / 1.471 GB, free: 2.621 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.3, allocations: 91.98 kB / 1.471 GB, free: 2.531 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/1.302, allocations: 1.179 MB / 1.472 GB, free: 1.328 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/1.302, allocations: 0 / 1.472 GB, free: 1.328 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.302, allocations: 36 kB / 1.472 GB, free: 1.293 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/1.302, allocations: 41.98 kB / 1.472 GB, free: 1.254 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/1.305, allocations: 1.058 MB / 1.473 GB, free: 200 kB / 1.154 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.007785/1.313, allocations: 4.487 MB / 1.478 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/1.315, allocations: 0.7326 MB / 1.478 GB, free: 10.67 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/1.316, allocations: 411.1 kB / 1.479 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/1.316, allocations: 97.09 kB / 1.479 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/1.316, allocations: 46.56 kB / 1.479 GB, free: 10.1 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/1.316, allocations: 0 / 1.479 GB, free: 10.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.006264/1.322, allocations: 2.196 MB / 1.481 GB, free: 7.852 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/1.322, allocations: 59.34 kB / 1.481 GB, free: 7.781 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.324, allocations: 0.8647 MB / 1.482 GB, free: 6.906 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-05/1.324, allocations: 37.7 kB / 1.482 GB, free: 6.863 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/1.324, allocations: 0.4963 MB / 1.482 GB, free: 6.359 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/1.324, allocations: 162.6 kB / 1.483 GB, free: 6.199 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/1.325, allocations: 126.2 kB / 1.483 GB, free: 6.07 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.325, allocations: 330 kB / 1.483 GB, free: 5.742 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/1.326, allocations: 373 kB / 1.483 GB, free: 5.375 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/1.327, allocations: 0.5013 MB / 1.484 GB, free: 4.82 MB / 1.17 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.006911/1.334, allocations: 2.265 MB / 1.486 GB, free: 2.492 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.334, allocations: 3.938 kB / 1.486 GB, free: 2.488 MB / 1.17 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002762/1.337, allocations: 0.9904 MB / 1.487 GB, free: 1.488 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/1.337, allocations: 11.94 kB / 1.487 GB, free: 1.477 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.337, allocations: 4 kB / 1.487 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/1.337, allocations: 8 kB / 1.487 GB, free: 1.465 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/1.338, allocations: 187.8 kB / 1.487 GB, free: 1.281 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/1.338, allocations: 11.98 kB / 1.487 GB, free: 1.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.339, allocations: 71.89 kB / 1.487 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/1.339, allocations: 23.98 kB / 1.487 GB, free: 1.176 MB / 1.17 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: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006457/1.34, allocations: 317.5 kB / 1.488 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/1.34, allocations: 95.44 kB / 1.488 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/1.34, allocations: 100.8 kB / 1.488 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.34, allocations: 11.88 kB / 1.488 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.34, allocations: 0 / 1.488 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002212/1.343, allocations: 1.026 MB / 1.489 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/1.348, allocations: 2.137 MB / 1.491 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/1.348, allocations: 7.938 kB / 1.491 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008845/1.349, allocations: 156.2 kB / 1.491 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/1.349, allocations: 8 kB / 1.491 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/1.349, allocations: 23.98 kB / 1.491 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/1.349, allocations: 4 kB / 1.491 GB, free: 13.11 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.349, allocations: 11.88 kB / 1.491 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/1.352, allocations: 1.415 MB / 1.493 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/1.353, allocations: 260.4 kB / 1.493 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.353, allocations: 12 kB / 1.493 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008952/1.354, allocations: 71.92 kB / 1.493 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/1.354, allocations: 35.84 kB / 1.493 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/1.354, allocations: 31.97 kB / 1.493 GB, free: 11.2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008935/1.355, allocations: 0.6044 MB / 1.494 GB, free: 10.6 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.31e-07/1.355, allocations: 3.938 kB / 1.494 GB, free: 10.59 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009735/1.356, allocations: 271.9 kB / 1.494 GB, free: 10.33 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005277/1.356, allocations: 204.9 kB / 1.494 GB, free: 10.12 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002206/1.359, allocations: 0.8154 MB / 1.495 GB, free: 9.309 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.359, allocations: 0 / 1.495 GB, free: 9.309 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.36, allocations: 397.3 kB / 1.495 GB, free: 8.922 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/1.363, allocations: 0.5812 MB / 1.496 GB, free: 8.355 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005492/1.368, allocations: 2.272 MB / 1.498 GB, free: 6 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008914/1.369, allocations: 1.11 MB / 1.499 GB, free: 4.863 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/1.369, allocations: 75.42 kB / 1.499 GB, free: 4.789 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/1.369, allocations: 4 kB / 1.499 GB, free: 4.785 MB / 1.186 GB Notification: Performance of Templates: time 0.0293/1.399, allocations: 16.99 MB / 1.516 GB, free: 3.941 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 14.448306977981701]