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.008903/0.008903, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001786/0.001786, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.385/1.385, 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.35/2.35, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 64.41 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2894, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9204/1.21, allocations: 190.5 MB / 1.274 GB, free: 3.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009444/1.219, allocations: 5.708 MB / 1.28 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/1.221, allocations: 42.62 kB / 1.28 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/1.222, allocations: 0.57 MB / 1.28 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005068/1.228, allocations: 1.833 MB / 1.282 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003556/1.231, allocations: 1.178 MB / 1.283 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005843/1.237, allocations: 2.957 MB / 1.286 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/1.239, allocations: 1.116 MB / 1.287 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/1.242, allocations: 1.076 MB / 1.288 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/1.245, allocations: 0.9723 MB / 1.289 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002555/1.245, allocations: 122.6 kB / 1.289 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/1.248, allocations: 1.445 MB / 1.291 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008519/1.249, allocations: 0.5708 MB / 1.291 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/1.25, allocations: 0.7206 MB / 1.292 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004844/1.255, allocations: 2.334 MB / 1.294 GB, free: 3.074 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.255, allocations: 1.469 kB / 1.294 GB, free: 3.074 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/1.255, allocations: 0 / 1.294 GB, free: 3.074 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.597e-05/1.255, allocations: 0.9062 kB / 1.294 GB, free: 3.074 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.004359/1.26, allocations: 1.623 MB / 1.296 GB, free: 2.258 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/1.26, allocations: 10.22 kB / 1.296 GB, free: 2.258 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/1.262, allocations: 329.2 kB / 1.296 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/1.266, allocations: 0.9152 MB / 1.297 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/1.266, allocations: 75.72 kB / 1.297 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/1.266, allocations: 95.72 kB / 1.297 GB, free: 1.852 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/1.269, allocations: 1.081 MB / 1.298 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/1.269, allocations: 3.297 kB / 1.298 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/1.269, allocations: 41.75 kB / 1.298 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.419e-05/1.27, allocations: 42.16 kB / 1.298 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/1.272, allocations: 0.9972 MB / 1.299 GB, free: 1.777 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.008093/1.28, allocations: 4.217 MB / 1.303 GB, free: 16.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009571/1.281, allocations: 0.5976 MB / 1.304 GB, free: 16.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/1.282, allocations: 342.8 kB / 1.304 GB, free: 16.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/1.282, allocations: 108.6 kB / 1.304 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/1.282, allocations: 46.88 kB / 1.304 GB, free: 15.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.966e-06/1.282, allocations: 0 / 1.304 GB, free: 15.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=55): time 0.004411/1.286, allocations: 2.196 MB / 1.306 GB, free: 15.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/1.286, allocations: 59.25 kB / 1.307 GB, free: 15.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/1.288, allocations: 0.8852 MB / 1.307 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/1.288, allocations: 40.27 kB / 1.307 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/1.288, allocations: 0.5172 MB / 1.308 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.288, allocations: 188.3 kB / 1.308 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/1.289, allocations: 135.6 kB / 1.308 GB, free: 14.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.289, allocations: 336.9 kB / 1.309 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/1.289, allocations: 286.2 kB / 1.309 GB, free: 14.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/1.29, allocations: 434.2 kB / 1.309 GB, free: 14.02 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.004022/1.294, allocations: 1.742 MB / 1.311 GB, free: 13.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.294, allocations: 2.5 kB / 1.311 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001685/1.296, allocations: 0.9266 MB / 1.312 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.296, allocations: 6.344 kB / 1.312 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.296, allocations: 7.156 kB / 1.312 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/1.296, allocations: 96.36 kB / 1.312 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/1.297, allocations: 160.7 kB / 1.312 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003787/1.3, allocations: 4.634 MB / 1.317 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/1.302, allocations: 29.2 kB / 1.317 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.418e-05/1.302, allocations: 34.88 kB / 1.317 GB, free: 9.598 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.000743/1.303, allocations: 345.4 kB / 1.317 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/1.303, allocations: 105.8 kB / 1.317 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/1.303, allocations: 113.1 kB / 1.317 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/1.303, allocations: 10.23 kB / 1.317 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.303, allocations: 0 / 1.317 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/1.304, allocations: 0.7655 MB / 1.318 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/1.308, allocations: 1.979 MB / 1.32 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/1.308, allocations: 6.422 kB / 1.32 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006917/1.309, allocations: 147.8 kB / 1.32 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/1.309, allocations: 46.72 kB / 1.32 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/1.309, allocations: 15.12 kB / 1.32 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/1.31, allocations: 1.601 MB / 1.322 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/1.31, allocations: 7.719 kB / 1.322 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/1.312, allocations: 1.208 MB / 1.323 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/1.312, allocations: 252.4 kB / 1.323 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/1.313, allocations: 17.38 kB / 1.323 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/1.313, allocations: 33.59 kB / 1.323 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.313, allocations: 48.77 kB / 1.323 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/1.314, allocations: 30.23 kB / 1.323 GB, free: 6.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009265/1.315, allocations: 0.6138 MB / 1.324 GB, free: 6.793 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/1.315, allocations: 0.9688 kB / 1.324 GB, free: 6.793 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001198/1.316, allocations: 302.9 kB / 1.324 GB, free: 6.793 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.0005305/1.316, allocations: 198.6 kB / 1.324 GB, free: 6.695 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001519/1.318, allocations: 1.018 MB / 1.325 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.318, allocations: 0 / 1.325 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005616/1.318, allocations: 451.3 kB / 1.326 GB, free: 6.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/1.321, allocations: 0.6544 MB / 1.326 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/1.324, allocations: 2.1 MB / 1.328 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/1.325, allocations: 1.169 MB / 1.33 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00088/1.326, allocations: 249.9 kB / 1.33 GB, free: 4.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/1.326, allocations: 74.91 kB / 1.33 GB, free: 4.473 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/1.326, allocations: 0 / 1.33 GB, free: 4.473 MB / 1.029 GB Notification: Performance of Templates: time 0.03919/1.365, allocations: 22.83 MB / 1.352 GB, free: 14.66 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