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.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.732/2.732, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.88 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.648/0.6493, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2286/0.8779, allocations: 190.3 MB / 1.203 GB, free: 3.473 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.8887, allocations: 5.683 MB / 1.209 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.8902, allocations: 39.81 kB / 1.209 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.8917, allocations: 0.5708 MB / 1.209 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.8954, allocations: 1.606 MB / 1.211 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.8985, allocations: 1.204 MB / 1.212 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003173/0.9017, allocations: 2.502 MB / 1.214 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.9031, allocations: 0.9926 MB / 1.215 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.9051, allocations: 1.031 MB / 1.216 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.9067, allocations: 0.8043 MB / 1.217 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.9069, allocations: 104 kB / 1.217 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.91, allocations: 1.52 MB / 1.219 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.9106, allocations: 0.4909 MB / 1.219 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007882/0.9113, allocations: 0.6222 MB / 1.22 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.9147, allocations: 2.088 MB / 1.222 GB, free: 164 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9147, allocations: 4 kB / 1.222 GB, free: 160 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.993e-06/0.9147, allocations: 0 / 1.222 GB, free: 160 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.9147, allocations: 0 / 1.222 GB, free: 160 kB / 0.9669 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.002473/0.9172, allocations: 1.472 MB / 1.223 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.9172, allocations: 12.02 kB / 1.223 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.9192, allocations: 334.3 kB / 1.224 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.9204, allocations: 0.7726 MB / 1.224 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/0.9208, allocations: 117.9 kB / 1.225 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.921, allocations: 84 kB / 1.225 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.9227, allocations: 1.086 MB / 1.226 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.9227, allocations: 4 kB / 1.226 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.845e-05/0.9228, allocations: 39.98 kB / 1.226 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.9228, allocations: 34 kB / 1.226 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.9243, allocations: 0.8469 MB / 1.227 GB, free: 11.23 MB / 0.9825 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.005348/0.9297, allocations: 4.297 MB / 1.231 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.9303, allocations: 359.8 kB / 1.231 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.9306, allocations: 217.3 kB / 1.231 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.9308, allocations: 101 kB / 1.231 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.9309, allocations: 50.48 kB / 1.232 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 2.214e-06/0.9309, allocations: 4 kB / 1.232 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002526/0.9334, allocations: 1.328 MB / 1.233 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.9335, allocations: 59.39 kB / 1.233 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.9349, allocations: 1.008 MB / 1.234 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.935, allocations: 37.7 kB / 1.234 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.9354, allocations: 0.4914 MB / 1.234 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.9355, allocations: 134.1 kB / 1.235 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.9357, allocations: 126.1 kB / 1.235 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.9359, allocations: 334 kB / 1.235 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/0.9364, allocations: 245.1 kB / 1.235 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/0.937, allocations: 419.9 kB / 1.236 GB, free: 1.559 MB / 0.9825 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.002456/0.9395, allocations: 1.233 MB / 1.237 GB, free: 236 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9395, allocations: 4 kB / 1.237 GB, free: 232 kB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001394/0.9409, allocations: 0.7734 MB / 1.238 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.9409, allocations: 8 kB / 1.238 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.941, allocations: 7.938 kB / 1.238 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.941, allocations: 8 kB / 1.238 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.9416, allocations: 147.7 kB / 1.238 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.9416, allocations: 8 kB / 1.238 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/0.9425, allocations: 68.08 kB / 1.238 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.9425, allocations: 27.98 kB / 1.238 GB, free: 15.17 MB / 0.9981 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.000466/0.943, allocations: 317.5 kB / 1.238 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.9432, allocations: 94.88 kB / 1.238 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.9434, allocations: 105 kB / 1.238 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.9434, allocations: 4 kB / 1.238 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9434, allocations: 0 / 1.238 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006774/0.9441, allocations: 0.6792 MB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.9465, allocations: 1.591 MB / 1.241 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.9465, allocations: 4 kB / 1.241 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.9469, allocations: 79.91 kB / 1.241 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.9469, allocations: 8.5 kB / 1.241 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.947, allocations: 19.98 kB / 1.241 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.965e-05/0.947, allocations: 15.81 kB / 1.241 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.947, allocations: 4 kB / 1.241 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.9482, allocations: 0.825 MB / 1.241 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.9486, allocations: 239.8 kB / 1.242 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.9488, allocations: 19.92 kB / 1.242 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/0.9494, allocations: 43.97 kB / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.9495, allocations: 35.84 kB / 1.242 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.9496, allocations: 23.98 kB / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001038/0.9506, allocations: 0.7155 MB / 1.243 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9506, allocations: 0 / 1.243 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008837/0.9515, allocations: 260 kB / 1.243 GB, free: 9.816 MB / 0.9981 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.0005324/0.9521, allocations: 201.5 kB / 1.243 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.9531, allocations: 0.5399 MB / 1.243 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9531, allocations: 4 kB / 1.243 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.9534, allocations: 187.8 kB / 1.244 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.956, allocations: 0.6281 MB / 1.244 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.9588, allocations: 1.863 MB / 1.246 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.9596, allocations: 1.103 MB / 1.247 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008963/0.9605, allocations: 244.3 kB / 1.247 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.9607, allocations: 71.44 kB / 1.247 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/0.9607, allocations: 0 / 1.247 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of Templates: time 0.5194/1.48, allocations: 19.76 MB / 1.267 GB, free: 229.7 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches