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.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.001583/0.001583, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.001839/0.001839, allocations: 160.1 kB / 22.46 MB, free: 5.375 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.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.91/2.91, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 1.974e-06/1.974e-06, allocations: 0 / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.51e-05, allocations: 2.281 kB / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8674/0.8675, allocations: 168.3 MB / 1.165 GB, free: 45.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008293/0.8758, allocations: 5.411 MB / 1.17 GB, free: 44.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.877, allocations: 55.16 kB / 1.17 GB, free: 44.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.8784, allocations: 0.5512 MB / 1.17 GB, free: 44.9 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.883, allocations: 1.969 MB / 1.172 GB, free: 44.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.886, allocations: 1.231 MB / 1.174 GB, free: 44.67 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003301/0.8893, allocations: 3.037 MB / 1.176 GB, free: 44.15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.8904, allocations: 0.806 MB / 1.177 GB, free: 44.06 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.8931, allocations: 1.665 MB / 1.179 GB, free: 43.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.8956, allocations: 0.9109 MB / 1.18 GB, free: 43.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002979/0.8959, allocations: 123.3 kB / 1.18 GB, free: 43.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.899, allocations: 1.21 MB / 1.181 GB, free: 43.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.8997, allocations: 0.6169 MB / 1.182 GB, free: 43.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009667/0.9006, allocations: 0.5181 MB / 1.182 GB, free: 43.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00454/0.9052, allocations: 2.375 MB / 1.184 GB, free: 43.37 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9052, allocations: 4.125 kB / 1.185 GB, free: 43.37 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9052, allocations: 0 / 1.185 GB, free: 43.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.971e-05/0.9052, allocations: 0 / 1.185 GB, free: 43.37 MB / 1.076 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.003555/0.9088, allocations: 1.571 MB / 1.186 GB, free: 42.61 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.9088, allocations: 13.92 kB / 1.186 GB, free: 42.6 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.9112, allocations: 342.1 kB / 1.186 GB, free: 42.53 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.9132, allocations: 0.8438 MB / 1.187 GB, free: 42.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.9133, allocations: 73.69 kB / 1.187 GB, free: 42.24 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.9135, allocations: 97.81 kB / 1.187 GB, free: 42.24 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.916, allocations: 1.532 MB / 1.189 GB, free: 41.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.916, allocations: 0 / 1.189 GB, free: 41.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.9161, allocations: 44.08 kB / 1.189 GB, free: 41.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/0.9162, allocations: 42.89 kB / 1.189 GB, free: 41.62 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.9181, allocations: 0.988 MB / 1.19 GB, free: 41.61 MB / 1.076 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.007198/0.9253, allocations: 2.719 MB / 1.193 GB, free: 41.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.9264, allocations: 0.5636 MB / 1.193 GB, free: 40.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.927, allocations: 320.1 kB / 1.193 GB, free: 40.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.9272, allocations: 29 kB / 1.193 GB, free: 40.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.9272, allocations: 40.7 kB / 1.193 GB, free: 40.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.745e-06/0.9272, allocations: 0.875 kB / 1.193 GB, free: 40.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=55): time 0.005191/0.9324, allocations: 1.896 MB / 1.195 GB, free: 39.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.9324, allocations: 63.12 kB / 1.195 GB, free: 39.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.9335, allocations: 0.6932 MB / 1.196 GB, free: 39.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.9336, allocations: 38.98 kB / 1.196 GB, free: 39.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.934, allocations: 0.533 MB / 1.197 GB, free: 38.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.9342, allocations: 206.7 kB / 1.197 GB, free: 38.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.9344, allocations: 134 kB / 1.197 GB, free: 38.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9345, allocations: 388.9 kB / 1.197 GB, free: 38.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.9351, allocations: 284.6 kB / 1.198 GB, free: 38.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/0.9357, allocations: 487 kB / 1.198 GB, free: 38 MB / 1.076 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.004198/0.9399, allocations: 1.676 MB / 1.2 GB, free: 37.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.9399, allocations: 1.781 kB / 1.2 GB, free: 37.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001738/0.9417, allocations: 0.9108 MB / 1.201 GB, free: 37.01 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.9417, allocations: 9.219 kB / 1.201 GB, free: 37.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.9417, allocations: 3.406 kB / 1.201 GB, free: 37.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.9419, allocations: 96.86 kB / 1.201 GB, free: 36.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/0.9427, allocations: 169.7 kB / 1.201 GB, free: 36.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.9456, allocations: 4.242 MB / 1.205 GB, free: 33.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.9466, allocations: 34.89 kB / 1.205 GB, free: 33.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.9467, allocations: 34.94 kB / 1.205 GB, free: 33.09 MB / 1.076 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.0006821/0.9474, allocations: 347.9 kB / 1.205 GB, free: 32.88 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.9476, allocations: 87.55 kB / 1.205 GB, free: 32.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.9477, allocations: 93.36 kB / 1.206 GB, free: 32.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.9477, allocations: 6.312 kB / 1.206 GB, free: 32.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.9478, allocations: 3.016 kB / 1.206 GB, free: 32.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/0.9489, allocations: 0.7615 MB / 1.206 GB, free: 32.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.952, allocations: 1.709 MB / 1.208 GB, free: 31.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.952, allocations: 4.531 kB / 1.208 GB, free: 31.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/0.9527, allocations: 149.8 kB / 1.208 GB, free: 31.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.9528, allocations: 42.44 kB / 1.208 GB, free: 31.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.9529, allocations: 17.14 kB / 1.208 GB, free: 31.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.9539, allocations: 1.476 MB / 1.21 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.9539, allocations: 3.75 kB / 1.21 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.9557, allocations: 1.184 MB / 1.211 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.9561, allocations: 160.9 kB / 1.211 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.9562, allocations: 21.25 kB / 1.211 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007132/0.9569, allocations: 28.33 kB / 1.211 GB, free: 29.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.9571, allocations: 45.31 kB / 1.211 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.074e-05/0.9572, allocations: 33.42 kB / 1.211 GB, free: 29.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000651/0.9578, allocations: 484.1 kB / 1.212 GB, free: 29.28 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9578, allocations: 0 / 1.212 GB, free: 29.28 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001159/0.959, allocations: 307.2 kB / 1.212 GB, free: 29.25 MB / 1.076 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.0003541/0.9593, allocations: 185.4 kB / 1.212 GB, free: 29.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.9609, allocations: 0.9931 MB / 1.213 GB, free: 28.61 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.9609, allocations: 1.094 kB / 1.213 GB, free: 28.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006671/0.9615, allocations: 432.2 kB / 1.213 GB, free: 28.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.9641, allocations: 0.5139 MB / 1.214 GB, free: 28.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.9675, allocations: 2.007 MB / 1.216 GB, free: 27.26 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/0.9682, allocations: 0.5728 MB / 1.216 GB, free: 27.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009522/0.9691, allocations: 226.2 kB / 1.217 GB, free: 27.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.9694, allocations: 70.97 kB / 1.217 GB, free: 27.03 MB / 1.076 GB Notification: Performance of SimCode: time 9.51e-07/0.9694, allocations: 0 / 1.217 GB, free: 27.03 MB / 1.076 GB Notification: Performance of Templates: time 0.03819/1.008, allocations: 19.51 MB / 1.236 GB, free: 24.91 MB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.8573507219553]