Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001663/0.001663, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.001989/0.001989, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.45/1.45, allocations: 225.6 MB / 248.5 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 1.057 GB, free: 1.992 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3356, allocations: 160.7 MB / 1.214 GB, free: 0.9688 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 1.024/1.359, allocations: 191.2 MB / 1.401 GB, free: 9.465 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01142/1.371, allocations: 5.713 MB / 1.406 GB, free: 4.816 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/1.372, allocations: 41.75 kB / 1.406 GB, free: 4.801 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/1.375, allocations: 0.5989 MB / 1.407 GB, free: 4.312 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005439/1.38, allocations: 1.672 MB / 1.409 GB, free: 3.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/1.384, allocations: 1.23 MB / 1.41 GB, free: 2.102 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004691/1.389, allocations: 2.554 MB / 1.412 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/1.39, allocations: 0.8681 MB / 1.413 GB, free: 88 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/1.393, allocations: 1.08 MB / 1.414 GB, free: 15.44 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/1.395, allocations: 0.9203 MB / 1.415 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002251/1.396, allocations: 108.8 kB / 1.415 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004068/1.4, allocations: 1.63 MB / 1.417 GB, free: 13.99 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007069/1.4, allocations: 0.5058 MB / 1.417 GB, free: 13.64 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009928/1.401, allocations: 0.6362 MB / 1.418 GB, free: 13.24 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004199/1.406, allocations: 2.184 MB / 1.42 GB, free: 11.84 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.406, allocations: 0 / 1.42 GB, free: 11.84 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.693e-06/1.406, allocations: 6.781 kB / 1.42 GB, free: 11.83 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.478e-05/1.406, allocations: 0 / 1.42 GB, free: 11.83 MB / 1.092 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.002782/1.408, allocations: 1.558 MB / 1.422 GB, free: 10.64 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.408, allocations: 14.5 kB / 1.422 GB, free: 10.64 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/1.412, allocations: 479.1 kB / 1.422 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/1.413, allocations: 0.8565 MB / 1.423 GB, free: 9.766 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/1.413, allocations: 66.09 kB / 1.423 GB, free: 9.738 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.414, allocations: 88.17 kB / 1.423 GB, free: 9.707 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/1.416, allocations: 1.178 MB / 1.424 GB, free: 9.02 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/1.416, allocations: 3.984 kB / 1.424 GB, free: 9.016 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.416, allocations: 38 kB / 1.424 GB, free: 8.988 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/1.416, allocations: 36.44 kB / 1.424 GB, free: 8.984 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/1.418, allocations: 1.062 MB / 1.425 GB, free: 8.473 MB / 1.092 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.008138/1.427, allocations: 4.324 MB / 1.43 GB, free: 4.473 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/1.429, allocations: 0.7169 MB / 1.43 GB, free: 3.746 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009865/1.43, allocations: 391.4 kB / 1.431 GB, free: 3.363 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/1.43, allocations: 105.8 kB / 1.431 GB, free: 3.242 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/1.43, allocations: 46.56 kB / 1.431 GB, free: 3.188 MB / 1.092 GB Notification: Performance of pre-optimization done (n=43): time 2.445e-06/1.43, allocations: 0 / 1.431 GB, free: 3.188 MB / 1.092 GB Notification: Performance of matching and sorting (n=45): time 0.006598/1.437, allocations: 2.196 MB / 1.433 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/1.437, allocations: 63.34 kB / 1.433 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/1.438, allocations: 0.8608 MB / 1.434 GB, free: 0 / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.561e-05/1.438, allocations: 37.7 kB / 1.434 GB, free: 15.96 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/1.439, allocations: 0.4924 MB / 1.434 GB, free: 15.46 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/1.439, allocations: 166.5 kB / 1.434 GB, free: 15.29 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/1.439, allocations: 126.2 kB / 1.435 GB, free: 15.16 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0002175/1.439, allocations: 330 kB / 1.435 GB, free: 14.84 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009909/1.44, allocations: 369 kB / 1.435 GB, free: 14.48 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/1.441, allocations: 0.4975 MB / 1.436 GB, free: 13.93 MB / 1.108 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.006751/1.448, allocations: 2.259 MB / 1.438 GB, free: 11.6 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.448, allocations: 0 / 1.438 GB, free: 11.6 MB / 1.108 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002625/1.451, allocations: 0.9942 MB / 1.439 GB, free: 10.6 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.451, allocations: 10.03 kB / 1.439 GB, free: 10.59 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.451, allocations: 4 kB / 1.439 GB, free: 10.59 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.451, allocations: 8 kB / 1.439 GB, free: 10.58 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009707/1.452, allocations: 185.4 kB / 1.439 GB, free: 10.4 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/1.452, allocations: 19.86 kB / 1.439 GB, free: 10.38 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.453, allocations: 71.88 kB / 1.439 GB, free: 10.31 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/1.453, allocations: 29.55 kB / 1.439 GB, free: 10.28 MB / 1.108 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.0006273/1.454, allocations: 313.5 kB / 1.44 GB, free: 9.965 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/1.454, allocations: 99.39 kB / 1.44 GB, free: 9.867 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/1.454, allocations: 100.8 kB / 1.44 GB, free: 9.766 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.454, allocations: 4 kB / 1.44 GB, free: 9.762 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.454, allocations: 3.938 kB / 1.44 GB, free: 9.758 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002277/1.457, allocations: 1.026 MB / 1.441 GB, free: 8.645 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005317/1.462, allocations: 2.137 MB / 1.443 GB, free: 6.41 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.462, allocations: 7.984 kB / 1.443 GB, free: 6.402 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008885/1.463, allocations: 167.5 kB / 1.443 GB, free: 6.242 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/1.463, allocations: 4 kB / 1.443 GB, free: 6.238 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/1.463, allocations: 19.98 kB / 1.443 GB, free: 6.219 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/1.463, allocations: 7.938 kB / 1.443 GB, free: 6.211 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.463, allocations: 4 kB / 1.443 GB, free: 6.207 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/1.466, allocations: 1.419 MB / 1.444 GB, free: 4.73 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/1.467, allocations: 260.4 kB / 1.445 GB, free: 4.457 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.467, allocations: 8 kB / 1.445 GB, free: 4.449 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009193/1.468, allocations: 78.7 kB / 1.445 GB, free: 4.375 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.468, allocations: 39.83 kB / 1.445 GB, free: 4.336 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.802e-05/1.468, allocations: 35.97 kB / 1.445 GB, free: 4.301 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0008729/1.469, allocations: 0.5966 MB / 1.445 GB, free: 3.707 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.2e-07/1.469, allocations: 0 / 1.445 GB, free: 3.707 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0009587/1.47, allocations: 271.9 kB / 1.446 GB, free: 3.441 MB / 1.108 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.0005634/1.471, allocations: 211.4 kB / 1.446 GB, free: 3.234 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.00224/1.473, allocations: 0.7875 MB / 1.447 GB, free: 2.445 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.473, allocations: 4 kB / 1.447 GB, free: 2.441 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.474, allocations: 385.3 kB / 1.447 GB, free: 2.066 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/1.477, allocations: 0.579 MB / 1.448 GB, free: 1.5 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/1.482, allocations: 2.276 MB / 1.45 GB, free: 15.14 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008494/1.483, allocations: 1.11 MB / 1.451 GB, free: 14 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/1.483, allocations: 75.42 kB / 1.451 GB, free: 13.93 MB / 1.123 GB Notification: Performance of SimCode: time 1.433e-06/1.483, allocations: 4 kB / 1.451 GB, free: 13.93 MB / 1.123 GB Notification: Performance of Templates: time 0.02944/1.513, allocations: 17.07 MB / 1.468 GB, free: 13.04 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.116697480902076]