Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.0009513/0.0009513, 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.0007948/0.0007948, allocations: 178.2 kB / 23.22 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.8819/0.8819, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.699/1.699, allocations: 377.8 MB / 0.6229 GB, free: 8.637 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.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9822 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.949e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6802/0.6802, allocations: 168.3 MB / 1.147 GB, free: 15.45 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.6906, allocations: 5.428 MB / 1.152 GB, free: 11.76 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.6922, allocations: 57.22 kB / 1.152 GB, free: 11.73 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.6937, allocations: 0.5492 MB / 1.152 GB, free: 11.43 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.6981, allocations: 1.73 MB / 1.154 GB, free: 10.46 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.7014, allocations: 1.272 MB / 1.155 GB, free: 9.805 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004164/0.7056, allocations: 2.628 MB / 1.158 GB, free: 8.578 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.7069, allocations: 0.7495 MB / 1.159 GB, free: 8.215 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.7098, allocations: 1.582 MB / 1.16 GB, free: 7.508 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.7116, allocations: 0.7979 MB / 1.161 GB, free: 7.254 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.7118, allocations: 107.7 kB / 1.161 GB, free: 7.254 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.7147, allocations: 1.303 MB / 1.162 GB, free: 6.816 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006616/0.7153, allocations: 0.5286 MB / 1.163 GB, free: 6.582 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006255/0.716, allocations: 469.9 kB / 1.163 GB, free: 6.391 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004207/0.7202, allocations: 2.231 MB / 1.166 GB, free: 5.625 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7202, allocations: 0 / 1.166 GB, free: 5.625 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7202, allocations: 1.281 kB / 1.166 GB, free: 5.625 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.867e-05/0.7202, allocations: 0 / 1.166 GB, free: 5.625 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002542/0.7228, allocations: 1.472 MB / 1.167 GB, free: 4.68 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.7228, allocations: 9.688 kB / 1.167 GB, free: 4.68 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.7246, allocations: 477.8 kB / 1.167 GB, free: 4.586 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.726, allocations: 0.7871 MB / 1.168 GB, free: 4.129 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.726, allocations: 64.91 kB / 1.168 GB, free: 4.098 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.7261, allocations: 85.66 kB / 1.168 GB, free: 4.07 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.7281, allocations: 1.551 MB / 1.17 GB, free: 3.156 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.7281, allocations: 7.891 kB / 1.17 GB, free: 3.148 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.7282, allocations: 37.44 kB / 1.17 GB, free: 3.121 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.7282, allocations: 42.62 kB / 1.17 GB, free: 3.109 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.7298, allocations: 1.059 MB / 1.171 GB, free: 2.793 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.004837/0.7346, allocations: 3.135 MB / 1.174 GB, free: 1.125 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.7358, allocations: 0.7266 MB / 1.175 GB, free: 0.8789 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.7363, allocations: 386.9 kB / 1.175 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.7364, allocations: 25.61 kB / 1.175 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.7365, allocations: 46.72 kB / 1.175 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 3.035e-06/0.7365, allocations: 0 / 1.175 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.003903/0.7404, allocations: 2.108 MB / 1.177 GB, free: 15.85 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.7404, allocations: 55.78 kB / 1.177 GB, free: 15.79 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.7411, allocations: 0.6642 MB / 1.178 GB, free: 15.5 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.7412, allocations: 37.61 kB / 1.178 GB, free: 15.46 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.7415, allocations: 0.5005 MB / 1.178 GB, free: 15.05 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.7416, allocations: 171.9 kB / 1.179 GB, free: 14.92 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.7417, allocations: 121 kB / 1.179 GB, free: 14.86 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7419, allocations: 386.3 kB / 1.179 GB, free: 14.51 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.7424, allocations: 372.8 kB / 1.179 GB, free: 14.41 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/0.7431, allocations: 0.5527 MB / 1.18 GB, free: 14.08 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.003603/0.7467, allocations: 2.183 MB / 1.182 GB, free: 13.37 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.7467, allocations: 2.25 kB / 1.182 GB, free: 13.37 MB / 1.026 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001539/0.7482, allocations: 0.9706 MB / 1.183 GB, free: 13.03 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.7482, allocations: 5.969 kB / 1.183 GB, free: 13.03 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7482, allocations: 4.656 kB / 1.183 GB, free: 13.03 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.7483, allocations: 6.812 kB / 1.183 GB, free: 13.03 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.7488, allocations: 192.3 kB / 1.183 GB, free: 13.01 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.7488, allocations: 11.27 kB / 1.183 GB, free: 13.01 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.7494, allocations: 63.62 kB / 1.183 GB, free: 13 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.7494, allocations: 28.92 kB / 1.183 GB, free: 12.99 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: 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.0005547/0.75, allocations: 320.5 kB / 1.184 GB, free: 12.78 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.7501, allocations: 82.55 kB / 1.184 GB, free: 12.73 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.7502, allocations: 87.48 kB / 1.184 GB, free: 12.68 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.7502, allocations: 4.375 kB / 1.184 GB, free: 12.68 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.7503, allocations: 0 / 1.184 GB, free: 12.68 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/0.7514, allocations: 1.025 MB / 1.185 GB, free: 12.05 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.7543, allocations: 1.878 MB / 1.187 GB, free: 11.21 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7543, allocations: 7.062 kB / 1.187 GB, free: 11.21 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.7547, allocations: 169.4 kB / 1.187 GB, free: 11.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.7548, allocations: 4.219 kB / 1.187 GB, free: 11.2 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.7548, allocations: 14.81 kB / 1.187 GB, free: 11.19 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.7548, allocations: 4.594 kB / 1.187 GB, free: 11.19 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.7548, allocations: 7.188 kB / 1.187 GB, free: 11.19 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.7566, allocations: 1.406 MB / 1.188 GB, free: 10.55 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.7569, allocations: 162.8 kB / 1.188 GB, free: 10.47 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.757, allocations: 21.23 kB / 1.188 GB, free: 10.46 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.7574, allocations: 69.92 kB / 1.189 GB, free: 10.45 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.7575, allocations: 41.47 kB / 1.189 GB, free: 10.43 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.7576, allocations: 29.45 kB / 1.189 GB, free: 10.43 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004435/0.758, allocations: 461.8 kB / 1.189 GB, free: 10.23 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.61e-07/0.758, allocations: 0 / 1.189 GB, free: 10.23 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008185/0.7588, allocations: 268.4 kB / 1.189 GB, free: 10.21 MB / 1.026 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.0003438/0.7592, allocations: 199.7 kB / 1.189 GB, free: 10.08 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.7604, allocations: 0.7882 MB / 1.19 GB, free: 9.855 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7604, allocations: 0.75 kB / 1.19 GB, free: 9.855 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.7609, allocations: 386.5 kB / 1.191 GB, free: 9.746 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.7621, allocations: 450.4 kB / 1.191 GB, free: 9.629 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.7651, allocations: 2.136 MB / 1.193 GB, free: 8.469 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.7655, allocations: 0.5135 MB / 1.194 GB, free: 8.168 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.7657, allocations: 74.61 kB / 1.194 GB, free: 8.152 MB / 1.026 GB Notification: Performance of SimCode: time 1.493e-06/0.7657, allocations: 0 / 1.194 GB, free: 8.152 MB / 1.026 GB Notification: Performance of Templates: time 0.01958/0.7853, allocations: 15.61 MB / 1.209 GB, free: 60 kB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.566258777864277]