Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.00139/0.00139, allocations: 107 kB / 16.41 MB, free: 6.496 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.001274/0.001274, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.333/1.333, 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 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8367, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2262/1.063, allocations: 190.3 MB / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009867/1.073, allocations: 5.694 MB / 1.28 GB, free: 9.641 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/1.075, allocations: 39.75 kB / 1.28 GB, free: 9.602 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/1.077, allocations: 0.563 MB / 1.281 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004762/1.081, allocations: 1.61 MB / 1.282 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/1.085, allocations: 1.205 MB / 1.283 GB, free: 6.223 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003848/1.089, allocations: 2.516 MB / 1.286 GB, free: 3.699 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/1.091, allocations: 0.9982 MB / 1.287 GB, free: 2.684 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/1.093, allocations: 1.043 MB / 1.288 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/1.095, allocations: 0.8133 MB / 1.289 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003613/1.096, allocations: 100 kB / 1.289 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/1.099, allocations: 1.524 MB / 1.29 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007151/1.1, allocations: 494.8 kB / 1.291 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/1.101, allocations: 0.6183 MB / 1.291 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004173/1.105, allocations: 2.115 MB / 1.293 GB, free: 11.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.105, allocations: 0 / 1.293 GB, free: 11.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/1.105, allocations: 0 / 1.293 GB, free: 11.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.538e-05/1.105, allocations: 4 kB / 1.293 GB, free: 11.97 MB / 1.029 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.003085/1.108, allocations: 1.476 MB / 1.295 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.108, allocations: 8.031 kB / 1.295 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/1.11, allocations: 322.3 kB / 1.295 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/1.112, allocations: 0.8155 MB / 1.296 GB, free: 9.262 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/1.112, allocations: 66 kB / 1.296 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/1.112, allocations: 87.98 kB / 1.296 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/1.114, allocations: 1.071 MB / 1.297 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/1.114, allocations: 0 / 1.297 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/1.114, allocations: 39.92 kB / 1.297 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/1.114, allocations: 38 kB / 1.297 GB, free: 7.926 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.116, allocations: 0.8275 MB / 1.298 GB, free: 7.094 MB / 1.029 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.005469/1.121, allocations: 4.262 MB / 1.302 GB, free: 2.559 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/1.122, allocations: 374.6 kB / 1.302 GB, free: 2.184 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/1.122, allocations: 215 kB / 1.303 GB, free: 1.973 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/1.122, allocations: 101 kB / 1.303 GB, free: 1.855 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/1.122, allocations: 38.56 kB / 1.303 GB, free: 1.809 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.675e-06/1.122, allocations: 0 / 1.303 GB, free: 1.809 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002582/1.125, allocations: 1.332 MB / 1.304 GB, free: 432 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/1.125, allocations: 55.41 kB / 1.304 GB, free: 364 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/1.126, allocations: 1.004 MB / 1.305 GB, free: 15.33 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/1.126, allocations: 33.7 kB / 1.305 GB, free: 15.29 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/1.127, allocations: 0.4953 MB / 1.306 GB, free: 14.79 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/1.127, allocations: 142 kB / 1.306 GB, free: 14.65 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.127, allocations: 122.2 kB / 1.306 GB, free: 14.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.127, allocations: 326 kB / 1.306 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/1.128, allocations: 237.2 kB / 1.306 GB, free: 13.97 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/1.128, allocations: 426.2 kB / 1.307 GB, free: 13.48 MB / 1.045 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.002402/1.131, allocations: 1.214 MB / 1.308 GB, free: 12.17 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.131, allocations: 4 kB / 1.308 GB, free: 12.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00144/1.132, allocations: 0.7729 MB / 1.309 GB, free: 11.38 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.132, allocations: 10.5 kB / 1.309 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.132, allocations: 8 kB / 1.309 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/1.132, allocations: 11.94 kB / 1.309 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/1.133, allocations: 143.7 kB / 1.309 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1.133, allocations: 8 kB / 1.309 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009667/1.134, allocations: 60.25 kB / 1.309 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.123e-05/1.134, allocations: 31.94 kB / 1.309 GB, free: 11.12 MB / 1.045 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.0005298/1.134, allocations: 317.5 kB / 1.309 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/1.135, allocations: 94.88 kB / 1.309 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/1.135, allocations: 109 kB / 1.31 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.135, allocations: 4 kB / 1.31 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.135, allocations: 0 / 1.31 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006583/1.135, allocations: 0.675 MB / 1.31 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/1.138, allocations: 1.586 MB / 1.312 GB, free: 8.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.138, allocations: 4 kB / 1.312 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/1.138, allocations: 83.89 kB / 1.312 GB, free: 8.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/1.138, allocations: 8 kB / 1.312 GB, free: 8.043 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/1.138, allocations: 16 kB / 1.312 GB, free: 8.027 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-06/1.138, allocations: 11.88 kB / 1.312 GB, free: 8.016 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.138, allocations: 4.438 kB / 1.312 GB, free: 8.012 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/1.139, allocations: 0.8255 MB / 1.313 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/1.14, allocations: 251.8 kB / 1.313 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/1.14, allocations: 15.94 kB / 1.313 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/1.141, allocations: 35.97 kB / 1.313 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/1.141, allocations: 35.84 kB / 1.313 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/1.141, allocations: 27.98 kB / 1.313 GB, free: 6.742 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001023/1.142, allocations: 0.7038 MB / 1.314 GB, free: 6.027 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.81e-07/1.142, allocations: 0 / 1.314 GB, free: 6.027 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009065/1.143, allocations: 252 kB / 1.314 GB, free: 5.781 MB / 1.045 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.0004802/1.143, allocations: 219.9 kB / 1.314 GB, free: 5.562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009537/1.144, allocations: 0.4989 MB / 1.315 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.144, allocations: 384 / 1.315 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/1.145, allocations: 195.7 kB / 1.315 GB, free: 4.875 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/1.147, allocations: 0.6113 MB / 1.315 GB, free: 4.273 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/1.15, allocations: 1.911 MB / 1.317 GB, free: 2.277 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/1.151, allocations: 1.099 MB / 1.318 GB, free: 1.148 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/1.151, allocations: 75.42 kB / 1.318 GB, free: 1.074 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/1.151, allocations: 3.938 kB / 1.319 GB, free: 1.07 MB / 1.045 GB Notification: Performance of Templates: time 0.02438/1.176, allocations: 16.46 MB / 1.335 GB, free: 0.7656 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches