Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001239/0.001239, allocations: 104.4 kB / 15.99 MB, free: 6.359 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.001203/0.001203, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.7107 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.28 kB / 0.8694 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3301, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.8002/1.13, allocations: 187.9 MB / 1.201 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01034/1.141, allocations: 5.644 MB / 1.206 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/1.143, allocations: 38.72 kB / 1.206 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/1.145, allocations: 0.5084 MB / 1.207 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/1.15, allocations: 1.509 MB / 1.208 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/1.153, allocations: 1.101 MB / 1.21 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003915/1.157, allocations: 2.501 MB / 1.212 GB, free: 15.46 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/1.159, allocations: 0.9635 MB / 1.213 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/1.162, allocations: 1.03 MB / 1.214 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/1.164, allocations: 0.8714 MB / 1.215 GB, free: 13.79 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003956/1.164, allocations: 103.6 kB / 1.215 GB, free: 13.79 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/1.168, allocations: 1.589 MB / 1.216 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009773/1.169, allocations: 0.4935 MB / 1.217 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/1.171, allocations: 0.6279 MB / 1.218 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/1.174, allocations: 1.597 MB / 1.219 GB, free: 11.2 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/1.174, allocations: 4 kB / 1.219 GB, free: 11.2 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/1.174, allocations: 0 / 1.219 GB, free: 11.2 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.312e-05/1.174, allocations: 0 / 1.219 GB, free: 11.2 MB / 0.92 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.003402/1.178, allocations: 1.48 MB / 1.221 GB, free: 9.895 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.178, allocations: 8.922 kB / 1.221 GB, free: 9.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/1.18, allocations: 342.1 kB / 1.221 GB, free: 9.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/1.181, allocations: 0.7687 MB / 1.222 GB, free: 8.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003646/1.182, allocations: 117.9 kB / 1.222 GB, free: 8.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.182, allocations: 80 kB / 1.222 GB, free: 8.551 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/1.184, allocations: 1.072 MB / 1.223 GB, free: 7.445 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/1.184, allocations: 4 kB / 1.223 GB, free: 7.441 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.184, allocations: 39.98 kB / 1.223 GB, free: 7.402 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/1.184, allocations: 34 kB / 1.223 GB, free: 7.371 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/1.185, allocations: 0.8392 MB / 1.224 GB, free: 6.531 MB / 0.92 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.005615/1.191, allocations: 4.05 MB / 1.228 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/1.192, allocations: 366.6 kB / 1.228 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/1.192, allocations: 217.3 kB / 1.228 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/1.192, allocations: 101.1 kB / 1.228 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.192, allocations: 43.09 kB / 1.228 GB, free: 1.469 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.535e-06/1.192, allocations: 0 / 1.228 GB, free: 1.469 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002672/1.195, allocations: 1.337 MB / 1.23 GB, free: 80 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.195, allocations: 59.41 kB / 1.23 GB, free: 8 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/1.196, allocations: 0.9881 MB / 1.231 GB, free: 15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/1.196, allocations: 37.7 kB / 1.231 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/1.197, allocations: 499.2 kB / 1.231 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/1.197, allocations: 138 kB / 1.231 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/1.197, allocations: 118.2 kB / 1.231 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.197, allocations: 326 kB / 1.232 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/1.198, allocations: 241.1 kB / 1.232 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/1.198, allocations: 401.3 kB / 1.232 GB, free: 13.18 MB / 0.9356 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.002438/1.201, allocations: 1.188 MB / 1.234 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.201, allocations: 0 / 1.234 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001397/1.202, allocations: 0.7547 MB / 1.234 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.202, allocations: 11.94 kB / 1.234 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.202, allocations: 4 kB / 1.234 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.202, allocations: 8 kB / 1.234 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/1.203, allocations: 152 kB / 1.234 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.203, allocations: 8 kB / 1.234 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/1.204, allocations: 83.77 kB / 1.235 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/1.204, allocations: 28 kB / 1.235 GB, free: 10.86 MB / 0.9356 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.000497/1.204, allocations: 317.5 kB / 1.235 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.205, allocations: 102.7 kB / 1.235 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/1.205, allocations: 97.03 kB / 1.235 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/1.205, allocations: 4 kB / 1.235 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.205, allocations: 7.938 kB / 1.235 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007037/1.205, allocations: 0.68 MB / 1.236 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/1.208, allocations: 1.582 MB / 1.237 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.208, allocations: 4 kB / 1.237 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/1.208, allocations: 87.89 kB / 1.237 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.208, allocations: 4.5 kB / 1.237 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/1.208, allocations: 15.94 kB / 1.237 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/1.208, allocations: 17.31 kB / 1.237 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.208, allocations: 4 kB / 1.237 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/1.209, allocations: 0.8251 MB / 1.238 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/1.21, allocations: 235.9 kB / 1.238 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/1.21, allocations: 16 kB / 1.238 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/1.211, allocations: 58.7 kB / 1.239 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/1.211, allocations: 39.83 kB / 1.239 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/1.211, allocations: 27.98 kB / 1.239 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001005/1.212, allocations: 0.7112 MB / 1.239 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/1.212, allocations: 0 / 1.239 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008577/1.213, allocations: 252 kB / 1.24 GB, free: 5.496 MB / 0.9356 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.0004771/1.213, allocations: 210.4 kB / 1.24 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.214, allocations: 0.5316 MB / 1.24 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.214, allocations: 4 kB / 1.24 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/1.214, allocations: 179.7 kB / 1.24 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/1.217, allocations: 0.6229 MB / 1.241 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/1.22, allocations: 2.252 MB / 1.243 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/1.221, allocations: 1.099 MB / 1.244 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/1.221, allocations: 75.44 kB / 1.244 GB, free: 440 kB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/1.221, allocations: 0 / 1.244 GB, free: 440 kB / 0.9356 GB Notification: Performance of Templates: time 0.02717/1.248, allocations: 16.31 MB / 1.26 GB, free: 284 kB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches