Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001677/0.001677, allocations: 111 kB / 15.99 MB, free: 6.344 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.001875/0.001875, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.401/1.401, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 70.17 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3281, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8024/1.131, allocations: 188 MB / 1.248 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0147/1.145, allocations: 5.679 MB / 1.253 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/1.147, allocations: 35.75 kB / 1.253 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/1.149, allocations: 0.5014 MB / 1.254 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005542/1.155, allocations: 1.712 MB / 1.255 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/1.158, allocations: 1.093 MB / 1.257 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004912/1.163, allocations: 2.948 MB / 1.259 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/1.165, allocations: 1.095 MB / 1.26 GB, free: 176 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/1.168, allocations: 1.059 MB / 1.262 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/1.17, allocations: 1.046 MB / 1.263 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003051/1.17, allocations: 124 kB / 1.263 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/1.174, allocations: 1.516 MB / 1.264 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007763/1.175, allocations: 0.565 MB / 1.265 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/1.176, allocations: 0.7312 MB / 1.265 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002609/1.179, allocations: 1.777 MB / 1.267 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.179, allocations: 0 / 1.267 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/1.179, allocations: 4 kB / 1.267 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.869e-05/1.179, allocations: 0 / 1.267 GB, free: 9.344 MB / 0.9825 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.002866/1.182, allocations: 1.627 MB / 1.269 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.182, allocations: 8.031 kB / 1.269 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/1.184, allocations: 334.2 kB / 1.269 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/1.185, allocations: 0.8591 MB / 1.27 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/1.185, allocations: 77.98 kB / 1.27 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/1.185, allocations: 99.91 kB / 1.27 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/1.187, allocations: 1.093 MB / 1.271 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/1.187, allocations: 0 / 1.271 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.188, allocations: 47.94 kB / 1.271 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/1.188, allocations: 34 kB / 1.271 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/1.189, allocations: 0.9954 MB / 1.272 GB, free: 4.078 MB / 0.9825 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.006961/1.196, allocations: 4.236 MB / 1.276 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/1.197, allocations: 0.6003 MB / 1.277 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/1.198, allocations: 342.5 kB / 1.277 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/1.198, allocations: 105.5 kB / 1.277 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/1.198, allocations: 43 kB / 1.277 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/1.198, allocations: 0 / 1.277 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55): time 0.004785/1.203, allocations: 2.2 MB / 1.28 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.203, allocations: 59.97 kB / 1.28 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.204, allocations: 0.8882 MB / 1.28 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-05/1.204, allocations: 37.7 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/1.205, allocations: 0.5185 MB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/1.205, allocations: 189.2 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/1.205, allocations: 134.5 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.206, allocations: 337.9 kB / 1.282 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/1.206, allocations: 281.8 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/1.207, allocations: 436.9 kB / 1.282 GB, free: 9.148 MB / 0.9981 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.004372/1.211, allocations: 1.756 MB / 1.284 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/1.211, allocations: 4 kB / 1.284 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001876/1.213, allocations: 0.9218 MB / 1.285 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.213, allocations: 4 kB / 1.285 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.213, allocations: 4 kB / 1.285 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/1.213, allocations: 103 kB / 1.285 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/1.214, allocations: 163.8 kB / 1.285 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/1.218, allocations: 4.632 MB / 1.29 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/1.22, allocations: 75.83 kB / 1.29 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/1.22, allocations: 27.94 kB / 1.29 GB, free: 0.957 MB / 0.9981 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.0007889/1.221, allocations: 353.5 kB / 1.29 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/1.221, allocations: 98.88 kB / 1.29 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/1.221, allocations: 105.2 kB / 1.29 GB, free: 412 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.221, allocations: 11.94 kB / 1.29 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.221, allocations: 0 / 1.29 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/1.223, allocations: 0.7654 MB / 1.291 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/1.227, allocations: 1.988 MB / 1.293 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.227, allocations: 4 kB / 1.293 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/1.227, allocations: 143.8 kB / 1.293 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/1.228, allocations: 44.78 kB / 1.293 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/1.228, allocations: 15.98 kB / 1.293 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/1.229, allocations: 1.602 MB / 1.295 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.229, allocations: 4 kB / 1.295 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/1.231, allocations: 1.206 MB / 1.296 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/1.232, allocations: 255.8 kB / 1.296 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/1.232, allocations: 23.92 kB / 1.296 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/1.233, allocations: 66.92 kB / 1.296 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.233, allocations: 43.89 kB / 1.296 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/1.233, allocations: 39.91 kB / 1.296 GB, free: 9.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008773/1.234, allocations: 0.62 MB / 1.297 GB, free: 9.203 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/1.234, allocations: 0 / 1.297 GB, free: 9.203 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00105/1.235, allocations: 300 kB / 1.297 GB, free: 8.91 MB / 1.014 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.0005417/1.235, allocations: 211.8 kB / 1.297 GB, free: 8.703 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001956/1.237, allocations: 1.09 MB / 1.299 GB, free: 7.574 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.237, allocations: 8.312 kB / 1.299 GB, free: 7.566 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000686/1.238, allocations: 453.8 kB / 1.299 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/1.241, allocations: 0.645 MB / 1.3 GB, free: 6.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/1.245, allocations: 2.602 MB / 1.302 GB, free: 3.805 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000886/1.246, allocations: 1.17 MB / 1.303 GB, free: 2.605 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/1.246, allocations: 83.42 kB / 1.303 GB, free: 2.523 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/1.246, allocations: 0 / 1.303 GB, free: 2.523 MB / 1.014 GB Notification: Performance of Templates: time 0.0774/1.323, allocations: 26.91 MB / 1.33 GB, free: 7.746 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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]