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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001091/0.001091, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.462/1.462, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.7421, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2135/0.9556, allocations: 185.8 MB / 1.137 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.966, allocations: 5.713 MB / 1.143 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.9679, allocations: 35.75 kB / 1.143 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.9698, allocations: 0.4974 MB / 1.143 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.9752, allocations: 1.72 MB / 1.145 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.9785, allocations: 1.073 MB / 1.146 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005454/0.984, allocations: 4.101 MB / 1.15 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.9859, allocations: 0.9278 MB / 1.151 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.9882, allocations: 0.8594 MB / 1.152 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.9909, allocations: 0.9469 MB / 1.153 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003483/0.9913, allocations: 44 kB / 1.153 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.995, allocations: 1.629 MB / 1.154 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008948/0.9959, allocations: 0.4908 MB / 1.155 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.9974, allocations: 0.6431 MB / 1.155 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/1, allocations: 1.734 MB / 1.157 GB, free: 492 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1, allocations: 4 kB / 1.157 GB, free: 488 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.224e-06/1, allocations: 0 / 1.157 GB, free: 488 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.551e-05/1, allocations: 4 kB / 1.157 GB, free: 484 kB / 0.9044 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.003189/1.004, allocations: 1.355 MB / 1.158 GB, free: 15.06 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.004, allocations: 15.97 kB / 1.158 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/1.006, allocations: 334.1 kB / 1.159 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/1.008, allocations: 0.8669 MB / 1.16 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/1.008, allocations: 74 kB / 1.16 GB, free: 13.74 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/1.008, allocations: 104 kB / 1.16 GB, free: 13.64 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/1.01, allocations: 1.096 MB / 1.161 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/1.01, allocations: 0 / 1.161 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/1.01, allocations: 44 kB / 1.161 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/1.01, allocations: 41.92 kB / 1.161 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/1.012, allocations: 1.007 MB / 1.162 GB, free: 11.44 MB / 0.92 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.006809/1.019, allocations: 4.266 MB / 1.166 GB, free: 6.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/1.02, allocations: 0.5979 MB / 1.167 GB, free: 6.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005444/1.021, allocations: 350.5 kB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/1.021, allocations: 105.5 kB / 1.167 GB, free: 5.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.021, allocations: 47 kB / 1.167 GB, free: 5.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.935e-06/1.021, allocations: 0 / 1.167 GB, free: 5.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=55): time 0.004584/1.026, allocations: 2.224 MB / 1.169 GB, free: 3.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.026, allocations: 63.91 kB / 1.169 GB, free: 3.332 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/1.027, allocations: 0.8804 MB / 1.17 GB, free: 2.441 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/1.027, allocations: 41.7 kB / 1.17 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/1.027, allocations: 0.5107 MB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/1.028, allocations: 201.1 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.602e-05/1.028, allocations: 61.69 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.028, allocations: 330 kB / 1.171 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/1.028, allocations: 293.8 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/1.029, allocations: 444.9 kB / 1.172 GB, free: 0.5078 MB / 0.92 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.004054/1.033, allocations: 1.774 MB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.033, allocations: 0 / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001608/1.035, allocations: 0.9378 MB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.035, allocations: 12 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.035, allocations: 4 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/1.035, allocations: 98.45 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/1.036, allocations: 175.8 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/1.039, allocations: 4.286 MB / 1.179 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.04, allocations: 75.8 kB / 1.179 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/1.04, allocations: 24 kB / 1.179 GB, free: 8.633 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0005925/1.041, allocations: 345.5 kB / 1.18 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/1.041, allocations: 102.8 kB / 1.18 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/1.041, allocations: 105.2 kB / 1.18 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.041, allocations: 8 kB / 1.18 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.041, allocations: 3.938 kB / 1.18 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/1.043, allocations: 0.7809 MB / 1.181 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/1.046, allocations: 2.003 MB / 1.182 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.046, allocations: 7.984 kB / 1.182 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/1.047, allocations: 156.2 kB / 1.183 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/1.047, allocations: 40.83 kB / 1.183 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/1.047, allocations: 12 kB / 1.183 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/1.048, allocations: 1.491 MB / 1.184 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.048, allocations: 7.938 kB / 1.184 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.05, allocations: 1.218 MB / 1.185 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/1.051, allocations: 251.8 kB / 1.186 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/1.051, allocations: 23.98 kB / 1.186 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/1.052, allocations: 69.53 kB / 1.186 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.052, allocations: 51.61 kB / 1.186 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.097e-05/1.052, allocations: 31.97 kB / 1.186 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009055/1.053, allocations: 0.6161 MB / 1.186 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.053, allocations: 0 / 1.186 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001097/1.054, allocations: 304 kB / 1.187 GB, free: 0.6562 MB / 0.9356 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.0005193/1.055, allocations: 205.8 kB / 1.187 GB, free: 464 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.056, allocations: 1.004 MB / 1.188 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.056, allocations: 8 kB / 1.188 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006645/1.057, allocations: 450.6 kB / 1.188 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.061, allocations: 0.6215 MB / 1.189 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/1.065, allocations: 2.695 MB / 1.191 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009504/1.066, allocations: 1.163 MB / 1.193 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/1.066, allocations: 79.42 kB / 1.193 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of SimCode: time 9.22e-07/1.066, allocations: 0 / 1.193 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.03803/1.104, allocations: 26.82 MB / 1.219 GB, free: 15.62 MB / 0.9825 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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]