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.001594/0.001595, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001804/0.001804, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.425/2.425, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.77 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2904, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7023/0.9927, allocations: 190.4 MB / 1.213 GB, free: 10.95 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009975/1.003, allocations: 5.681 MB / 1.218 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/1.005, allocations: 43.53 kB / 1.218 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/1.007, allocations: 0.5659 MB / 1.219 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005071/1.012, allocations: 1.612 MB / 1.22 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003665/1.016, allocations: 1.195 MB / 1.221 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00395/1.02, allocations: 2.52 MB / 1.224 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/1.021, allocations: 0.997 MB / 1.225 GB, free: 1.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/1.024, allocations: 1.027 MB / 1.226 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/1.026, allocations: 0.8162 MB / 1.227 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003502/1.027, allocations: 100.7 kB / 1.227 GB, free: 488 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/1.03, allocations: 1.524 MB / 1.228 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008199/1.031, allocations: 490.8 kB / 1.229 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/1.032, allocations: 0.6221 MB / 1.229 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003818/1.036, allocations: 2.107 MB / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.036, allocations: 4 kB / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/1.036, allocations: 0 / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.884e-05/1.036, 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.003046/1.039, allocations: 1.469 MB / 1.233 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.039, allocations: 8.031 kB / 1.233 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/1.041, allocations: 334.3 kB / 1.233 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/1.043, allocations: 0.8077 MB / 1.234 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/1.043, allocations: 68.94 kB / 1.234 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/1.043, allocations: 84 kB / 1.234 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/1.045, allocations: 1.074 MB / 1.235 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.045, allocations: 3.938 kB / 1.235 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/1.046, allocations: 43.94 kB / 1.235 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/1.046, allocations: 33.98 kB / 1.235 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/1.047, allocations: 0.8275 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.006116/1.053, allocations: 4.254 MB / 1.24 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/1.054, allocations: 378.5 kB / 1.241 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/1.054, allocations: 216.8 kB / 1.241 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/1.054, allocations: 97.69 kB / 1.241 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.054, allocations: 42.56 kB / 1.241 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=36): time 2.965e-06/1.054, allocations: 0 / 1.241 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=38): time 0.002663/1.057, allocations: 1.336 MB / 1.242 GB, free: 180 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/1.057, allocations: 59.34 kB / 1.242 GB, free: 108 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.059, allocations: 0.9966 MB / 1.243 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/1.059, allocations: 37.7 kB / 1.243 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/1.059, allocations: 499.2 kB / 1.244 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/1.059, allocations: 145.9 kB / 1.244 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.06, allocations: 122.2 kB / 1.244 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.06, allocations: 330 kB / 1.244 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/1.06, allocations: 241.2 kB / 1.245 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/1.061, allocations: 419.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.002485/1.063, allocations: 1.212 MB / 1.246 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.063, allocations: 0 / 1.246 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00147/1.065, allocations: 0.7651 MB / 1.247 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.065, allocations: 10.66 kB / 1.247 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.065, allocations: 8 kB / 1.247 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/1.065, allocations: 11.94 kB / 1.247 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/1.066, allocations: 144.1 kB / 1.247 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.066, allocations: 16 kB / 1.247 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000869/1.066, allocations: 55.94 kB / 1.247 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/1.066, allocations: 32.73 kB / 1.247 GB, free: 10.88 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.0004477/1.067, allocations: 319.5 kB / 1.247 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/1.067, allocations: 94.88 kB / 1.248 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/1.067, allocations: 101 kB / 1.248 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.067, allocations: 7.938 kB / 1.248 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.067, allocations: 0 / 1.248 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006905/1.068, allocations: 0.6767 MB / 1.248 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/1.071, allocations: 1.589 MB / 1.25 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.071, allocations: 8.75 kB / 1.25 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/1.071, allocations: 87.89 kB / 1.25 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/1.071, allocations: 4 kB / 1.25 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/1.071, allocations: 12 kB / 1.25 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/1.071, allocations: 12.42 kB / 1.25 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.071, allocations: 19.88 kB / 1.25 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/1.072, allocations: 0.8278 MB / 1.251 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/1.073, allocations: 239.8 kB / 1.251 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.073, allocations: 19.92 kB / 1.251 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/1.073, allocations: 36.98 kB / 1.251 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/1.073, allocations: 31.91 kB / 1.251 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/1.074, allocations: 27.98 kB / 1.251 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001004/1.075, allocations: 0.7038 MB / 1.252 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/1.075, allocations: 3.938 kB / 1.252 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008452/1.075, allocations: 260 kB / 1.252 GB, free: 5.523 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.0004694/1.076, allocations: 194.3 kB / 1.252 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009511/1.077, allocations: 0.4966 MB / 1.253 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.077, allocations: 8.062 kB / 1.253 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/1.077, allocations: 183.7 kB / 1.253 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/1.08, allocations: 0.622 MB / 1.254 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/1.082, allocations: 1.846 MB / 1.255 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/1.083, allocations: 1.099 MB / 1.256 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008078/1.084, allocations: 248.3 kB / 1.257 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/1.084, allocations: 71.44 kB / 1.257 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of SimCode: time 9.42e-07/1.084, allocations: 0 / 1.257 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of Templates: time 0.03203/1.116, allocations: 19.75 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 gbode -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