Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001297/0.001297, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.00126/0.00126, allocations: 194.2 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.416/1.416, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.89/2.89, allocations: 489.3 MB / 0.7687 GB, free: 3.828 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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,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.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,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.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.89 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9448/0.9467, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2483/1.195, allocations: 190.5 MB / 1.449 GB, free: 8.469 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01101/1.206, allocations: 5.727 MB / 1.454 GB, free: 3.785 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/1.208, allocations: 35.81 kB / 1.454 GB, free: 3.75 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/1.21, allocations: 0.5708 MB / 1.455 GB, free: 3.176 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005272/1.215, allocations: 1.828 MB / 1.457 GB, free: 1.34 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/1.218, allocations: 1.189 MB / 1.458 GB, free: 160 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004488/1.223, allocations: 2.963 MB / 1.461 GB, free: 13.19 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/1.225, allocations: 1.12 MB / 1.462 GB, free: 12.05 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/1.227, allocations: 1.246 MB / 1.463 GB, free: 10.8 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/1.229, allocations: 0.9551 MB / 1.464 GB, free: 9.844 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/1.23, allocations: 124 kB / 1.464 GB, free: 9.723 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/1.233, allocations: 1.427 MB / 1.465 GB, free: 8.293 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006506/1.234, allocations: 0.5573 MB / 1.466 GB, free: 7.734 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009478/1.235, allocations: 0.7312 MB / 1.467 GB, free: 7 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003769/1.238, allocations: 2.34 MB / 1.469 GB, free: 4.652 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.238, allocations: 3.984 kB / 1.469 GB, free: 4.648 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.024e-06/1.238, allocations: 0 / 1.469 GB, free: 4.648 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.86e-05/1.238, allocations: 4 kB / 1.469 GB, free: 4.645 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002833/1.241, allocations: 1.65 MB / 1.471 GB, free: 2.938 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.241, allocations: 8.031 kB / 1.471 GB, free: 2.93 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/1.243, allocations: 342.9 kB / 1.471 GB, free: 2.594 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.245, allocations: 0.9221 MB / 1.472 GB, free: 1.629 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.776e-05/1.245, allocations: 70 kB / 1.472 GB, free: 1.562 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/1.245, allocations: 104 kB / 1.472 GB, free: 1.461 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/1.247, allocations: 1.085 MB / 1.473 GB, free: 380 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/1.247, allocations: 0 / 1.473 GB, free: 380 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.247, allocations: 40 kB / 1.473 GB, free: 340 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/1.247, allocations: 41.98 kB / 1.473 GB, free: 296 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/1.249, allocations: 0.9876 MB / 1.474 GB, free: 15.3 MB / 1.17 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.006312/1.255, allocations: 4.391 MB / 1.478 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/1.256, allocations: 0.5938 MB / 1.479 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/1.257, allocations: 344.3 kB / 1.479 GB, free: 9.637 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/1.257, allocations: 105.5 kB / 1.479 GB, free: 9.516 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.257, allocations: 43 kB / 1.479 GB, free: 9.465 MB / 1.17 GB Notification: Performance of pre-optimization done (n=53): time 4.268e-06/1.257, allocations: 4 kB / 1.479 GB, free: 9.461 MB / 1.17 GB Notification: Performance of matching and sorting (n=55): time 0.004233/1.261, allocations: 2.218 MB / 1.482 GB, free: 7.121 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/1.261, allocations: 59.91 kB / 1.482 GB, free: 7.051 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.262, allocations: 0.8883 MB / 1.483 GB, free: 6.156 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/1.262, allocations: 37.7 kB / 1.483 GB, free: 6.113 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/1.263, allocations: 0.5312 MB / 1.483 GB, free: 5.574 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/1.263, allocations: 202.3 kB / 1.483 GB, free: 5.375 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.263, allocations: 126.6 kB / 1.483 GB, free: 5.242 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.263, allocations: 337.9 kB / 1.484 GB, free: 4.906 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/1.264, allocations: 285.8 kB / 1.484 GB, free: 4.629 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/1.265, allocations: 433 kB / 1.484 GB, free: 4.156 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.004039/1.269, allocations: 1.749 MB / 1.486 GB, free: 2.34 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.269, allocations: 0 / 1.486 GB, free: 2.34 MB / 1.17 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001663/1.27, allocations: 0.9265 MB / 1.487 GB, free: 1.395 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.27, allocations: 8 kB / 1.487 GB, free: 1.387 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.27, allocations: 4 kB / 1.487 GB, free: 1.383 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/1.271, allocations: 98.39 kB / 1.487 GB, free: 1.277 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/1.271, allocations: 167.9 kB / 1.487 GB, free: 1.113 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/1.275, allocations: 4.633 MB / 1.492 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/1.276, allocations: 44.09 kB / 1.492 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/1.276, allocations: 24 kB / 1.492 GB, free: 12 MB / 1.186 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005675/1.277, allocations: 353 kB / 1.492 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/1.277, allocations: 103.4 kB / 1.492 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/1.277, allocations: 109.2 kB / 1.492 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.277, allocations: 4 kB / 1.492 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.277, allocations: 8 kB / 1.492 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001157/1.278, allocations: 0.7613 MB / 1.493 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/1.281, allocations: 1.988 MB / 1.495 GB, free: 8.512 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.281, allocations: 4 kB / 1.495 GB, free: 8.508 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/1.282, allocations: 147.8 kB / 1.495 GB, free: 8.363 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/1.282, allocations: 36.84 kB / 1.495 GB, free: 8.324 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/1.282, allocations: 19.98 kB / 1.495 GB, free: 8.305 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/1.284, allocations: 1.61 MB / 1.497 GB, free: 6.555 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/1.284, allocations: 7.938 kB / 1.497 GB, free: 6.547 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.286, allocations: 1.212 MB / 1.498 GB, free: 5.277 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/1.286, allocations: 256.4 kB / 1.498 GB, free: 5.008 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/1.286, allocations: 19.98 kB / 1.498 GB, free: 4.988 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006671/1.287, allocations: 27.98 kB / 1.498 GB, free: 4.961 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.287, allocations: 51.81 kB / 1.498 GB, free: 4.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/1.287, allocations: 27.98 kB / 1.498 GB, free: 4.883 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008278/1.288, allocations: 0.6161 MB / 1.499 GB, free: 4.273 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.71e-07/1.288, allocations: 4 kB / 1.499 GB, free: 4.27 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009128/1.289, allocations: 303.9 kB / 1.499 GB, free: 3.973 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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004651/1.289, allocations: 203.1 kB / 1.5 GB, free: 3.773 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001573/1.291, allocations: 1.015 MB / 1.501 GB, free: 2.719 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.291, allocations: 4.25 kB / 1.501 GB, free: 2.715 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/1.291, allocations: 442.6 kB / 1.501 GB, free: 2.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.294, allocations: 0.6481 MB / 1.502 GB, free: 1.637 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/1.297, allocations: 2.203 MB / 1.504 GB, free: 15.36 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/1.298, allocations: 1.17 MB / 1.505 GB, free: 14.16 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/1.299, allocations: 83.42 kB / 1.505 GB, free: 14.07 MB / 1.201 GB Notification: Performance of SimCode: time 4.11e-07/1.299, allocations: 0 / 1.505 GB, free: 14.07 MB / 1.201 GB Notification: Performance of Templates: time 0.03574/1.334, allocations: 27.03 MB / 1.531 GB, free: 3.164 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.269749284954742]