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.001444/0.001444, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001467/0.001467, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.509/2.509, allocations: 437.1 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.86 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.332, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7992/1.131, allocations: 187.9 MB / 1.201 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01007/1.141, allocations: 5.655 MB / 1.206 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/1.143, allocations: 38.25 kB / 1.207 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/1.145, allocations: 0.5004 MB / 1.207 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004439/1.149, allocations: 1.513 MB / 1.208 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/1.153, allocations: 1.094 MB / 1.21 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003688/1.156, allocations: 2.5 MB / 1.212 GB, free: 15.51 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/1.158, allocations: 0.9677 MB / 1.213 GB, free: 14.93 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/1.16, allocations: 1.022 MB / 1.214 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/1.162, allocations: 0.8757 MB / 1.215 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/1.162, allocations: 103.5 kB / 1.215 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/1.165, allocations: 1.593 MB / 1.216 GB, free: 12.97 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006728/1.166, allocations: 0.4934 MB / 1.217 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009312/1.167, allocations: 0.6279 MB / 1.218 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/1.169, allocations: 1.597 MB / 1.219 GB, free: 11.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/1.169, allocations: 3.938 kB / 1.219 GB, free: 11.24 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.002e-06/1.169, allocations: 3.938 kB / 1.219 GB, free: 11.24 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.458e-05/1.169, allocations: 0 / 1.219 GB, free: 11.24 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.002585/1.172, allocations: 1.48 MB / 1.221 GB, free: 9.922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.172, allocations: 8.922 kB / 1.221 GB, free: 9.914 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/1.174, allocations: 330.3 kB / 1.221 GB, free: 9.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/1.175, allocations: 0.7765 MB / 1.222 GB, free: 8.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/1.176, allocations: 117.9 kB / 1.222 GB, free: 8.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/1.176, allocations: 80 kB / 1.222 GB, free: 8.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/1.178, allocations: 1.072 MB / 1.223 GB, free: 7.473 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/1.178, allocations: 0 / 1.223 GB, free: 7.473 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/1.178, allocations: 40 kB / 1.223 GB, free: 7.434 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/1.178, allocations: 37.98 kB / 1.223 GB, free: 7.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/1.18, allocations: 0.8392 MB / 1.224 GB, free: 6.559 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.006243/1.186, allocations: 4.05 MB / 1.228 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006507/1.187, allocations: 366.4 kB / 1.228 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/1.187, allocations: 219.8 kB / 1.228 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/1.187, allocations: 97.08 kB / 1.228 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/1.187, allocations: 47.14 kB / 1.228 GB, free: 1.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.405e-06/1.187, allocations: 0 / 1.228 GB, free: 1.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002771/1.19, allocations: 1.333 MB / 1.23 GB, free: 116 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/1.19, allocations: 59.39 kB / 1.23 GB, free: 44 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/1.192, allocations: 0.9921 MB / 1.231 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/1.192, allocations: 37.7 kB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/1.192, allocations: 495.2 kB / 1.231 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/1.192, allocations: 138 kB / 1.231 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/1.193, allocations: 122.2 kB / 1.231 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.193, allocations: 326 kB / 1.232 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/1.193, allocations: 234 kB / 1.232 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006521/1.194, allocations: 405.2 kB / 1.232 GB, free: 13.22 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.002637/1.197, allocations: 1.188 MB / 1.234 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.197, allocations: 0 / 1.234 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001555/1.198, allocations: 0.7615 MB / 1.234 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/1.198, allocations: 11.94 kB / 1.234 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.198, allocations: 7.938 kB / 1.234 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.198, allocations: 8 kB / 1.234 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/1.199, allocations: 145.2 kB / 1.234 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.199, allocations: 8 kB / 1.234 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.2, allocations: 95.8 kB / 1.235 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/1.2, allocations: 25.88 kB / 1.235 GB, free: 10.89 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.0005209/1.2, allocations: 314 kB / 1.235 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/1.201, allocations: 106.7 kB / 1.235 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/1.201, allocations: 101 kB / 1.235 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.201, allocations: 4 kB / 1.235 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.201, allocations: 0 / 1.235 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007777/1.202, allocations: 0.6791 MB / 1.236 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/1.204, allocations: 1.582 MB / 1.237 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.204, allocations: 7.938 kB / 1.237 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/1.205, allocations: 91.89 kB / 1.237 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/1.205, allocations: 4 kB / 1.237 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/1.205, allocations: 15.94 kB / 1.237 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/1.205, allocations: 8 kB / 1.237 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/1.205, allocations: 7.938 kB / 1.237 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/1.206, allocations: 0.8254 MB / 1.238 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/1.206, allocations: 239.9 kB / 1.238 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/1.207, allocations: 16 kB / 1.238 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/1.207, allocations: 58.61 kB / 1.239 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/1.207, allocations: 35.84 kB / 1.239 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/1.207, allocations: 27.98 kB / 1.239 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001145/1.209, allocations: 0.7074 MB / 1.239 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.209, allocations: 0 / 1.239 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009384/1.21, allocations: 252 kB / 1.24 GB, free: 5.527 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.0005494/1.21, allocations: 199.3 kB / 1.24 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001126/1.211, allocations: 0.5305 MB / 1.24 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.211, allocations: 8.75 kB / 1.24 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/1.212, allocations: 183.7 kB / 1.24 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/1.214, allocations: 0.6246 MB / 1.241 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/1.218, allocations: 2.25 MB / 1.243 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/1.219, allocations: 1.099 MB / 1.244 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/1.219, allocations: 75.44 kB / 1.244 GB, free: 464 kB / 0.9356 GB Notification: Performance of SimCode: time 7.32e-07/1.219, allocations: 0 / 1.244 GB, free: 464 kB / 0.9356 GB Notification: Performance of Templates: time 0.0282/1.247, allocations: 16.31 MB / 1.26 GB, free: 304 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=400 -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