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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_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.001456/0.001456, allocations: 110.4 kB / 16.41 MB, free: 6.477 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.001479/0.001479, allocations: 183 kB / 17.34 MB, free: 5.754 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9095/0.9115, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2102/1.122, allocations: 190.5 MB / 1.394 GB, free: 14.48 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01005/1.132, allocations: 5.72 MB / 1.4 GB, free: 8.754 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/1.133, allocations: 39.75 kB / 1.4 GB, free: 8.715 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/1.135, allocations: 0.5708 MB / 1.401 GB, free: 8.141 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005027/1.14, allocations: 1.828 MB / 1.402 GB, free: 6.305 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/1.144, allocations: 1.187 MB / 1.404 GB, free: 5.125 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004209/1.148, allocations: 2.955 MB / 1.406 GB, free: 2.156 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/1.15, allocations: 1.126 MB / 1.408 GB, free: 1.012 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/1.152, allocations: 1.066 MB / 1.409 GB, free: 15.94 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/1.155, allocations: 0.97 MB / 1.41 GB, free: 14.97 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004279/1.155, allocations: 124 kB / 1.41 GB, free: 14.85 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/1.158, allocations: 1.446 MB / 1.411 GB, free: 13.4 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000877/1.159, allocations: 0.5689 MB / 1.412 GB, free: 12.83 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001542/1.161, allocations: 0.7195 MB / 1.412 GB, free: 12.11 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004536/1.165, allocations: 2.337 MB / 1.415 GB, free: 9.766 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.165, allocations: 4 kB / 1.415 GB, free: 9.762 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.713e-06/1.165, allocations: 0 / 1.415 GB, free: 9.762 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.424e-05/1.165, allocations: 0 / 1.415 GB, free: 9.762 MB / 1.139 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.003326/1.169, allocations: 1.617 MB / 1.416 GB, free: 8.094 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.169, allocations: 8.031 kB / 1.416 GB, free: 8.086 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/1.171, allocations: 330.2 kB / 1.417 GB, free: 7.762 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/1.173, allocations: 0.9136 MB / 1.417 GB, free: 6.805 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/1.173, allocations: 77.94 kB / 1.417 GB, free: 6.727 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/1.173, allocations: 92 kB / 1.418 GB, free: 6.637 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/1.175, allocations: 1.087 MB / 1.419 GB, free: 5.547 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.175, allocations: 0 / 1.419 GB, free: 5.547 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.735e-05/1.175, allocations: 44 kB / 1.419 GB, free: 5.504 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/1.175, allocations: 45.98 kB / 1.419 GB, free: 5.461 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/1.177, allocations: 0.9837 MB / 1.42 GB, free: 4.473 MB / 1.139 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.006475/1.183, allocations: 4.219 MB / 1.424 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/1.184, allocations: 0.6015 MB / 1.424 GB, free: 15.35 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/1.185, allocations: 346.5 kB / 1.425 GB, free: 15 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/1.185, allocations: 101.5 kB / 1.425 GB, free: 14.89 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/1.185, allocations: 50.98 kB / 1.425 GB, free: 14.82 MB / 1.154 GB Notification: Performance of pre-optimization done (n=53): time 3.647e-06/1.185, allocations: 0 / 1.425 GB, free: 14.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=55): time 0.00422/1.189, allocations: 2.185 MB / 1.427 GB, free: 12.53 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/1.189, allocations: 67.89 kB / 1.427 GB, free: 12.45 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.19, allocations: 0.8843 MB / 1.428 GB, free: 11.56 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/1.19, allocations: 37.7 kB / 1.428 GB, free: 11.52 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/1.191, allocations: 0.5145 MB / 1.428 GB, free: 11 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/1.191, allocations: 201.1 kB / 1.429 GB, free: 10.8 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.191, allocations: 130.6 kB / 1.429 GB, free: 10.67 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.191, allocations: 334 kB / 1.429 GB, free: 10.34 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/1.192, allocations: 289.8 kB / 1.429 GB, free: 10.05 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/1.192, allocations: 429 kB / 1.43 GB, free: 9.578 MB / 1.154 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.003952/1.196, allocations: 1.738 MB / 1.431 GB, free: 7.77 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.196, allocations: 0 / 1.431 GB, free: 7.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001558/1.198, allocations: 0.9259 MB / 1.432 GB, free: 6.824 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.198, allocations: 8 kB / 1.432 GB, free: 6.816 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.198, allocations: 4 kB / 1.432 GB, free: 6.812 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/1.198, allocations: 98.77 kB / 1.432 GB, free: 6.707 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/1.199, allocations: 175.7 kB / 1.433 GB, free: 6.535 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/1.203, allocations: 4.628 MB / 1.437 GB, free: 1.488 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/1.204, allocations: 31.92 kB / 1.437 GB, free: 1.457 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/1.204, allocations: 28 kB / 1.437 GB, free: 1.43 MB / 1.154 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.0006762/1.205, allocations: 345.5 kB / 1.438 GB, free: 1.082 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.205, allocations: 98.78 kB / 1.438 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/1.205, allocations: 121.2 kB / 1.438 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/1.205, allocations: 11.98 kB / 1.438 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.205, allocations: 0 / 1.438 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/1.206, allocations: 0.7575 MB / 1.439 GB, free: 52 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/1.209, allocations: 1.992 MB / 1.44 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.209, allocations: 4 kB / 1.44 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/1.21, allocations: 143.8 kB / 1.441 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/1.21, allocations: 40.83 kB / 1.441 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/1.21, allocations: 16.34 kB / 1.441 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/1.212, allocations: 1.613 MB / 1.442 GB, free: 11.99 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.212, allocations: 4.062 kB / 1.442 GB, free: 11.99 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/1.214, allocations: 1.208 MB / 1.443 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/1.214, allocations: 259.9 kB / 1.444 GB, free: 10.45 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.214, allocations: 19.94 kB / 1.444 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/1.215, allocations: 31.47 kB / 1.444 GB, free: 10.4 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.215, allocations: 43.89 kB / 1.444 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/1.215, allocations: 35.92 kB / 1.444 GB, free: 10.32 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007772/1.216, allocations: 0.6161 MB / 1.444 GB, free: 9.711 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.216, allocations: 0 / 1.444 GB, free: 9.711 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000968/1.217, allocations: 304 kB / 1.445 GB, free: 9.414 MB / 1.17 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.0004735/1.217, allocations: 199 kB / 1.445 GB, free: 9.223 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001554/1.219, allocations: 1.015 MB / 1.446 GB, free: 8.168 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/1.219, allocations: 0 / 1.446 GB, free: 8.168 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006271/1.219, allocations: 446 kB / 1.446 GB, free: 7.719 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.222, allocations: 0.6421 MB / 1.447 GB, free: 7.09 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/1.226, allocations: 2.175 MB / 1.449 GB, free: 4.84 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/1.227, allocations: 1.166 MB / 1.45 GB, free: 3.645 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/1.227, allocations: 79.44 kB / 1.45 GB, free: 3.57 MB / 1.17 GB Notification: Performance of SimCode: time 7.82e-07/1.227, allocations: 4 kB / 1.45 GB, free: 3.566 MB / 1.17 GB Notification: Performance of Templates: time 0.03458/1.261, allocations: 27.04 MB / 1.477 GB, free: 8.652 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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]