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.001749/0.001749, allocations: 105.4 kB / 16.41 MB, free: 6.488 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.001923/0.001922, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 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.303/2.303, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 67.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8914, allocations: 140.4 MB / 1.089 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2473/1.139, allocations: 190.3 MB / 1.274 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01103/1.15, allocations: 5.69 MB / 1.28 GB, free: 9.801 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/1.152, allocations: 39.75 kB / 1.28 GB, free: 9.762 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/1.154, allocations: 0.5943 MB / 1.281 GB, free: 9.164 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005746/1.16, allocations: 1.668 MB / 1.282 GB, free: 7.488 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003817/1.164, allocations: 1.208 MB / 1.283 GB, free: 6.293 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004017/1.168, allocations: 2.52 MB / 1.286 GB, free: 3.766 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/1.169, allocations: 0.9925 MB / 1.287 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/1.172, allocations: 1.066 MB / 1.288 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/1.174, allocations: 0.822 MB / 1.289 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/1.174, allocations: 100 kB / 1.289 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/1.177, allocations: 1.543 MB / 1.29 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/1.178, allocations: 486.8 kB / 1.291 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008379/1.179, allocations: 0.6222 MB / 1.291 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003666/1.182, allocations: 2.111 MB / 1.293 GB, free: 12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.182, allocations: 0 / 1.293 GB, free: 12 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.184e-06/1.182, allocations: 0 / 1.293 GB, free: 12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.962e-05/1.182, allocations: 4 kB / 1.293 GB, free: 12 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.00239/1.185, allocations: 1.476 MB / 1.295 GB, free: 10.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.185, allocations: 8.031 kB / 1.295 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/1.187, allocations: 326.3 kB / 1.295 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/1.188, allocations: 0.8155 MB / 1.296 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/1.188, allocations: 62 kB / 1.296 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/1.188, allocations: 84 kB / 1.296 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/1.19, allocations: 1.074 MB / 1.297 GB, free: 8.023 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/1.19, allocations: 0 / 1.297 GB, free: 8.023 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/1.19, allocations: 35.98 kB / 1.297 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/1.19, allocations: 41.94 kB / 1.297 GB, free: 7.949 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/1.192, allocations: 0.8314 MB / 1.298 GB, free: 7.113 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.005355/1.197, allocations: 4.26 MB / 1.302 GB, free: 2.582 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/1.198, allocations: 367.6 kB / 1.303 GB, free: 2.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/1.198, allocations: 213.3 kB / 1.303 GB, free: 2.004 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/1.198, allocations: 104.9 kB / 1.303 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.198, allocations: 38.56 kB / 1.303 GB, free: 1.836 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.775e-06/1.198, allocations: 0 / 1.303 GB, free: 1.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002589/1.201, allocations: 1.332 MB / 1.304 GB, free: 460 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.201, allocations: 55.41 kB / 1.304 GB, free: 392 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.202, allocations: 1.004 MB / 1.305 GB, free: 15.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/1.202, allocations: 41.64 kB / 1.305 GB, free: 15.31 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/1.203, allocations: 499.2 kB / 1.306 GB, free: 14.82 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.203, allocations: 142 kB / 1.306 GB, free: 14.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.203, allocations: 122.2 kB / 1.306 GB, free: 14.55 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.203, allocations: 326 kB / 1.306 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/1.204, allocations: 237.2 kB / 1.307 GB, free: 14 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/1.204, allocations: 424.7 kB / 1.307 GB, free: 13.5 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.002383/1.207, allocations: 1.221 MB / 1.308 GB, free: 12.19 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.207, allocations: 7.938 kB / 1.308 GB, free: 12.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001457/1.208, allocations: 0.7612 MB / 1.309 GB, free: 11.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/1.208, allocations: 8 kB / 1.309 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.208, allocations: 11.98 kB / 1.309 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/1.208, allocations: 11.94 kB / 1.309 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/1.209, allocations: 139.8 kB / 1.309 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/1.209, allocations: 11.98 kB / 1.309 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008916/1.21, allocations: 56.27 kB / 1.309 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/1.21, allocations: 28 kB / 1.309 GB, free: 11.15 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.0004956/1.21, allocations: 313.5 kB / 1.31 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.21, allocations: 102.8 kB / 1.31 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/1.211, allocations: 109 kB / 1.31 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.211, allocations: 7.984 kB / 1.31 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.211, allocations: 0 / 1.31 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006896/1.211, allocations: 0.6711 MB / 1.31 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/1.214, allocations: 1.591 MB / 1.312 GB, free: 8.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.214, allocations: 4 kB / 1.312 GB, free: 8.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/1.214, allocations: 79.89 kB / 1.312 GB, free: 8.078 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/1.214, allocations: 8 kB / 1.312 GB, free: 8.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/1.214, allocations: 16 kB / 1.312 GB, free: 8.055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/1.214, allocations: 11.88 kB / 1.312 GB, free: 8.043 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.214, allocations: 4 kB / 1.312 GB, free: 8.039 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.215, allocations: 0.8336 MB / 1.313 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/1.216, allocations: 247.8 kB / 1.313 GB, free: 6.879 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/1.216, allocations: 15.94 kB / 1.313 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/1.216, allocations: 37.39 kB / 1.313 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/1.216, allocations: 35.84 kB / 1.313 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/1.217, allocations: 27.98 kB / 1.313 GB, free: 6.766 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009762/1.218, allocations: 0.7038 MB / 1.314 GB, free: 6.051 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/1.218, allocations: 0 / 1.314 GB, free: 6.051 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008557/1.218, allocations: 256 kB / 1.314 GB, free: 5.801 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.000507/1.219, allocations: 215.2 kB / 1.314 GB, free: 5.586 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009186/1.22, allocations: 0.4926 MB / 1.315 GB, free: 5.094 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.22, allocations: 384 / 1.315 GB, free: 5.094 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/1.22, allocations: 197.3 kB / 1.315 GB, free: 4.902 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/1.223, allocations: 0.6119 MB / 1.316 GB, free: 4.301 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/1.226, allocations: 1.907 MB / 1.317 GB, free: 2.309 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/1.226, allocations: 1.099 MB / 1.319 GB, free: 1.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/1.227, allocations: 75.42 kB / 1.319 GB, free: 1.105 MB / 1.045 GB Notification: Performance of SimCode: time 6.81e-07/1.227, allocations: 7.875 kB / 1.319 GB, free: 1.098 MB / 1.045 GB Notification: Performance of Templates: time 0.02735/1.254, allocations: 16.47 MB / 1.335 GB, free: 0.793 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