Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001391, allocations: 108 kB / 15.6 MB, free: 132 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.001354/0.001354, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.489/2.489, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 75.44 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2324, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5988/0.8313, allocations: 190.3 MB / 1.25 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006983/0.8383, allocations: 5.679 MB / 1.255 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006241/0.8389, allocations: 44.08 kB / 1.256 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.8401, allocations: 0.5655 MB / 1.256 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.8427, allocations: 1.612 MB / 1.258 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.8451, allocations: 1.193 MB / 1.259 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.8472, allocations: 2.503 MB / 1.261 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009594/0.8482, allocations: 1.003 MB / 1.262 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.8494, allocations: 1.019 MB / 1.263 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.8506, allocations: 0.8139 MB / 1.264 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.8507, allocations: 102.4 kB / 1.264 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.8528, allocations: 1.529 MB / 1.266 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004059/0.8532, allocations: 494.6 kB / 1.266 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.8538, allocations: 0.6239 MB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.8558, allocations: 2.087 MB / 1.269 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8558, allocations: 0.5312 kB / 1.269 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8558, allocations: 4.062 kB / 1.269 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.8558, allocations: 0 / 1.269 GB, free: 4.383 MB / 0.9981 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.001959/0.8578, allocations: 1.473 MB / 1.27 GB, free: 19.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.8578, allocations: 9.844 kB / 1.27 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.858, allocations: 140.9 kB / 1.27 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.8598, allocations: 330.2 kB / 1.271 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.8609, allocations: 0.7774 MB / 1.271 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003433/0.8612, allocations: 116.3 kB / 1.272 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.8614, allocations: 87.03 kB / 1.272 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.8629, allocations: 1.081 MB / 1.273 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.863, allocations: 9.234 kB / 1.273 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.863, allocations: 41.92 kB / 1.273 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.8631, allocations: 35.33 kB / 1.273 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.8645, allocations: 0.8425 MB / 1.274 GB, free: 19.02 MB / 1.014 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.005152/0.8697, allocations: 4.295 MB / 1.278 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.8702, allocations: 374.4 kB / 1.278 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.8704, allocations: 211.3 kB / 1.278 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.8706, allocations: 101 kB / 1.278 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.8706, allocations: 40.58 kB / 1.278 GB, free: 16.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 1.482e-06/0.8707, allocations: 0.8438 kB / 1.278 GB, free: 16.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.002028/0.8727, allocations: 1.328 MB / 1.28 GB, free: 16.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.8727, allocations: 55.34 kB / 1.28 GB, free: 16.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.8739, allocations: 1.014 MB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.874, allocations: 34.38 kB / 1.281 GB, free: 15.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.8742, allocations: 0.4957 MB / 1.281 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.8743, allocations: 132.4 kB / 1.281 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.8745, allocations: 127.4 kB / 1.282 GB, free: 15.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8746, allocations: 331.4 kB / 1.282 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.8751, allocations: 239.5 kB / 1.282 GB, free: 15.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.8756, allocations: 429.1 kB / 1.283 GB, free: 15.11 MB / 1.014 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.002102/0.8777, allocations: 1.228 MB / 1.284 GB, free: 14.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8777, allocations: 1.125 kB / 1.284 GB, free: 14.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001172/0.8789, allocations: 0.7776 MB / 1.284 GB, free: 14.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.8789, allocations: 11.03 kB / 1.284 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.8789, allocations: 10.69 kB / 1.284 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.879, allocations: 9.438 kB / 1.285 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.8795, allocations: 146.2 kB / 1.285 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.8795, allocations: 11.88 kB / 1.285 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007955/0.8803, allocations: 63.86 kB / 1.285 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.8804, allocations: 25.86 kB / 1.285 GB, free: 14.71 MB / 1.014 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.0003142/0.8807, allocations: 318.1 kB / 1.285 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.8808, allocations: 100.7 kB / 1.285 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.881, allocations: 104 kB / 1.285 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.881, allocations: 5.812 kB / 1.285 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.881, allocations: 1.562 kB / 1.285 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005902/0.8816, allocations: 0.6812 MB / 1.286 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.8834, allocations: 1.584 MB / 1.287 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.8834, allocations: 3.875 kB / 1.287 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.8838, allocations: 87.91 kB / 1.288 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.8838, allocations: 5.438 kB / 1.288 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.8838, allocations: 16.19 kB / 1.288 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.8839, allocations: 11.25 kB / 1.288 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8839, allocations: 4.531 kB / 1.288 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.8847, allocations: 0.8269 MB / 1.288 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.885, allocations: 240.6 kB / 1.289 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.8851, allocations: 15.22 kB / 1.289 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.8857, allocations: 38.73 kB / 1.289 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.8858, allocations: 36.41 kB / 1.289 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.8858, allocations: 26.89 kB / 1.289 GB, free: 13.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000832/0.8867, allocations: 0.7136 MB / 1.289 GB, free: 13.06 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8867, allocations: 0 / 1.289 GB, free: 13.06 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007113/0.8874, allocations: 259 kB / 1.29 GB, free: 13.05 MB / 1.014 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.001395/0.8888, allocations: 1.487 MB / 1.291 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008179/0.8896, allocations: 0.5408 MB / 1.292 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.8897, allocations: 2.188 kB / 1.292 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.8899, allocations: 191.3 kB / 1.292 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.8923, allocations: 0.6126 MB / 1.292 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008765/0.901, allocations: 8.024 MB / 1.3 GB, free: 8.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.9017, allocations: 1.092 MB / 1.301 GB, free: 8.199 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008439/0.9025, allocations: 252.2 kB / 1.302 GB, free: 8.145 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.9029, allocations: 344.5 kB / 1.302 GB, free: 8.137 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.9029, allocations: 0 / 1.302 GB, free: 8.137 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.541/2.444, allocations: 27.61 MB / 1.329 GB, free: 2.254 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/16.14, allocations: 11.53 kB / 1.329 GB, free: 2.242 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches