Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001577/0.001577, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.615/2.615, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 68.02 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3198, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.772/1.092, allocations: 190.3 MB / 1.213 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01074/1.103, allocations: 5.684 MB / 1.218 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/1.104, allocations: 44.84 kB / 1.218 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/1.106, allocations: 0.5701 MB / 1.219 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004453/1.111, allocations: 1.608 MB / 1.22 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/1.114, allocations: 1.203 MB / 1.221 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003605/1.118, allocations: 2.52 MB / 1.224 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/1.119, allocations: 0.989 MB / 1.225 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/1.121, allocations: 1.03 MB / 1.226 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/1.123, allocations: 0.8156 MB / 1.227 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/1.123, allocations: 100.5 kB / 1.227 GB, free: 492 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/1.126, allocations: 1.532 MB / 1.228 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005485/1.127, allocations: 490.6 kB / 1.229 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008542/1.127, allocations: 0.6183 MB / 1.229 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003969/1.131, allocations: 2.103 MB / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.131, allocations: 4 kB / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/1.131, allocations: 0 / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.559e-05/1.131, allocations: 0 / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002619/1.134, allocations: 1.473 MB / 1.233 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.134, allocations: 11.97 kB / 1.233 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.136, allocations: 338.3 kB / 1.233 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/1.138, allocations: 0.8039 MB / 1.234 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.2e-05/1.138, allocations: 66 kB / 1.234 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/1.138, allocations: 80 kB / 1.234 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/1.14, allocations: 1.074 MB / 1.235 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/1.14, allocations: 3.984 kB / 1.235 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.735e-05/1.14, allocations: 40 kB / 1.235 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/1.14, allocations: 30 kB / 1.235 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/1.141, allocations: 0.8353 MB / 1.236 GB, free: 6.848 MB / 0.9356 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.0057/1.147, allocations: 4.25 MB / 1.24 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/1.148, allocations: 374.6 kB / 1.241 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/1.148, allocations: 220.7 kB / 1.241 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/1.148, allocations: 97.69 kB / 1.241 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.148, allocations: 42.5 kB / 1.241 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/1.148, allocations: 0 / 1.241 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38): time 0.002543/1.151, allocations: 1.336 MB / 1.242 GB, free: 184 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.151, allocations: 55.41 kB / 1.242 GB, free: 116 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/1.152, allocations: 1.001 MB / 1.243 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/1.152, allocations: 37.69 kB / 1.243 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/1.153, allocations: 0.4914 MB / 1.244 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/1.153, allocations: 145.9 kB / 1.244 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/1.153, allocations: 118.2 kB / 1.244 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.153, allocations: 326 kB / 1.244 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/1.154, allocations: 241.2 kB / 1.245 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/1.154, allocations: 423.7 kB / 1.245 GB, free: 13.23 MB / 0.9512 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.002468/1.157, allocations: 1.208 MB / 1.246 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.157, allocations: 0 / 1.246 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001405/1.158, allocations: 0.7768 MB / 1.247 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.158, allocations: 6.188 kB / 1.247 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.158, allocations: 12 kB / 1.247 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.158, allocations: 11.94 kB / 1.247 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/1.159, allocations: 140.1 kB / 1.247 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.159, allocations: 19.94 kB / 1.247 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008818/1.16, allocations: 55.84 kB / 1.247 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/1.16, allocations: 24 kB / 1.247 GB, free: 10.89 MB / 0.9512 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004254/1.16, allocations: 313.7 kB / 1.247 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/1.16, allocations: 94.88 kB / 1.248 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/1.161, allocations: 105 kB / 1.248 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.161, allocations: 7.938 kB / 1.248 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.161, allocations: 0 / 1.248 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006777/1.161, allocations: 0.6767 MB / 1.248 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/1.164, allocations: 1.594 MB / 1.25 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.164, allocations: 4 kB / 1.25 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/1.164, allocations: 91.83 kB / 1.25 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-06/1.164, allocations: 4 kB / 1.25 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/1.164, allocations: 12 kB / 1.25 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.164, allocations: 8.484 kB / 1.25 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.164, allocations: 19.88 kB / 1.25 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/1.165, allocations: 0.8262 MB / 1.251 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/1.166, allocations: 235.8 kB / 1.251 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/1.166, allocations: 19.94 kB / 1.251 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/1.167, allocations: 32.98 kB / 1.251 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/1.167, allocations: 43.78 kB / 1.251 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/1.167, allocations: 27.98 kB / 1.251 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001017/1.168, allocations: 0.7038 MB / 1.252 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/1.168, allocations: 0 / 1.252 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008444/1.169, allocations: 260 kB / 1.252 GB, free: 5.527 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004421/1.169, allocations: 197.9 kB / 1.252 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009803/1.17, allocations: 0.5005 MB / 1.253 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.17, allocations: 4 kB / 1.253 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/1.17, allocations: 194.1 kB / 1.253 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.173, allocations: 0.6178 MB / 1.254 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/1.176, allocations: 1.85 MB / 1.255 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/1.176, allocations: 1.095 MB / 1.256 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000783/1.177, allocations: 244.3 kB / 1.257 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/1.177, allocations: 75.42 kB / 1.257 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/1.177, allocations: 0 / 1.257 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of Templates: time 0.03562/1.213, allocations: 19.74 MB / 1.276 GB, free: 13.19 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches