Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007454/0.007454, allocations: 103.2 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 191.2 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 62.62 kB / 0.9509 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2906, allocations: 140.4 MB / 1.088 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9329/1.224, allocations: 190.5 MB / 1.274 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01084/1.234, allocations: 5.719 MB / 1.28 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/1.236, allocations: 39.16 kB / 1.28 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/1.238, allocations: 0.5905 MB / 1.28 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005863/1.244, allocations: 1.904 MB / 1.282 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00416/1.248, allocations: 1.192 MB / 1.283 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006219/1.255, allocations: 2.958 MB / 1.286 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002591/1.257, allocations: 1.119 MB / 1.287 GB, free: 3.199 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004121/1.261, allocations: 1.101 MB / 1.288 GB, free: 3.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/1.265, allocations: 0.9666 MB / 1.289 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003676/1.265, allocations: 123.6 kB / 1.289 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004932/1.27, allocations: 1.455 MB / 1.291 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/1.271, allocations: 0.5689 MB / 1.291 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001727/1.273, allocations: 0.7243 MB / 1.292 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005899/1.279, allocations: 2.332 MB / 1.294 GB, free: 3.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.279, allocations: 0.5156 kB / 1.294 GB, free: 3.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/1.279, allocations: 0 / 1.294 GB, free: 3.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.343e-05/1.279, allocations: 5.344 kB / 1.294 GB, free: 3.02 MB / 1.014 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.003474/1.282, allocations: 1.617 MB / 1.296 GB, free: 2.203 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.282, allocations: 9.875 kB / 1.296 GB, free: 2.203 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/1.285, allocations: 334.7 kB / 1.296 GB, free: 2.133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/1.287, allocations: 0.9115 MB / 1.297 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/1.287, allocations: 76 kB / 1.297 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/1.287, allocations: 96.62 kB / 1.297 GB, free: 1.797 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/1.289, allocations: 1.081 MB / 1.298 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/1.289, allocations: 4.406 kB / 1.298 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/1.289, allocations: 41.97 kB / 1.298 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/1.289, allocations: 40.47 kB / 1.298 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/1.291, allocations: 0.9932 MB / 1.299 GB, free: 1.727 MB / 1.014 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.006755/1.298, allocations: 4.222 MB / 1.303 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009579/1.299, allocations: 0.5958 MB / 1.304 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/1.299, allocations: 341.1 kB / 1.304 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/1.3, allocations: 103.2 kB / 1.304 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.3, allocations: 50 kB / 1.304 GB, free: 15.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.966e-06/1.3, allocations: 0 / 1.304 GB, free: 15.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=55): time 0.004639/1.304, allocations: 2.202 MB / 1.307 GB, free: 15.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/1.304, allocations: 57.5 kB / 1.307 GB, free: 14.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/1.306, allocations: 0.8833 MB / 1.308 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/1.306, allocations: 39.92 kB / 1.308 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/1.306, allocations: 0.5167 MB / 1.308 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/1.306, allocations: 187.2 kB / 1.308 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.307, allocations: 136.7 kB / 1.308 GB, free: 14.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.307, allocations: 337.5 kB / 1.309 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/1.307, allocations: 287.8 kB / 1.309 GB, free: 14.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/1.308, allocations: 432.2 kB / 1.309 GB, free: 13.97 MB / 1.029 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.003996/1.312, allocations: 1.745 MB / 1.311 GB, free: 13.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.312, allocations: 1.219 kB / 1.311 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0017/1.314, allocations: 0.9231 MB / 1.312 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.314, allocations: 7.438 kB / 1.312 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.314, allocations: 4.719 kB / 1.312 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/1.314, allocations: 96.75 kB / 1.312 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/1.315, allocations: 168.4 kB / 1.312 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/1.318, allocations: 4.633 MB / 1.317 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/1.319, allocations: 29.22 kB / 1.317 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/1.32, allocations: 25.84 kB / 1.317 GB, free: 9.547 MB / 1.029 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.0007195/1.32, allocations: 346.1 kB / 1.317 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/1.32, allocations: 108.3 kB / 1.317 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/1.321, allocations: 109 kB / 1.317 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.321, allocations: 6.5 kB / 1.317 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.321, allocations: 3.938 kB / 1.317 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001276/1.322, allocations: 0.7671 MB / 1.318 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/1.326, allocations: 1.984 MB / 1.32 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.326, allocations: 3.406 kB / 1.32 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000709/1.326, allocations: 154 kB / 1.32 GB, free: 8.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/1.326, allocations: 36.55 kB / 1.32 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/1.327, allocations: 24.89 kB / 1.32 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/1.328, allocations: 1.6 MB / 1.322 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/1.328, allocations: 7.188 kB / 1.322 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/1.33, allocations: 1.212 MB / 1.323 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000575/1.33, allocations: 250.7 kB / 1.323 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/1.331, allocations: 15.47 kB / 1.323 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/1.332, allocations: 37.88 kB / 1.323 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/1.332, allocations: 47.27 kB / 1.323 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/1.332, allocations: 39.14 kB / 1.323 GB, free: 6.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001017/1.333, allocations: 0.6122 MB / 1.324 GB, free: 6.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.71e-07/1.333, allocations: 0 / 1.324 GB, free: 6.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00133/1.334, allocations: 302.6 kB / 1.324 GB, free: 6.73 MB / 1.029 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.0005763/1.335, allocations: 199.3 kB / 1.325 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001717/1.336, allocations: 1.016 MB / 1.326 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.336, allocations: 4.031 kB / 1.326 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007079/1.337, allocations: 446.5 kB / 1.326 GB, free: 6.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.34, allocations: 0.6448 MB / 1.327 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/1.344, allocations: 2.101 MB / 1.329 GB, free: 5.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.345, allocations: 1.168 MB / 1.33 GB, free: 4.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001192/1.347, allocations: 258.6 kB / 1.33 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/1.347, allocations: 80.22 kB / 1.33 GB, free: 4.41 MB / 1.029 GB Notification: Performance of SimCode: time 9.91e-07/1.347, allocations: 0 / 1.33 GB, free: 4.41 MB / 1.029 GB Notification: Performance of Templates: time 0.04389/1.391, allocations: 22.44 MB / 1.352 GB, free: 14.82 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches