Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001155/0.001155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001215/0.001215, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.637/2.637, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.33 kB / 0.8987 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3048, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1721/0.4769, allocations: 184.9 MB / 1.233 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01546/0.4924, allocations: 12.97 MB / 1.246 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009755/0.4934, allocations: 27.81 kB / 1.246 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.4947, allocations: 366 kB / 1.246 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.4973, allocations: 1.078 MB / 1.247 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.4989, allocations: 0.6354 MB / 1.248 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5296/1.029, allocations: 2.015 MB / 1.25 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.03, allocations: 0.8113 MB / 1.25 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/1.033, allocations: 1.771 MB / 1.252 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/1.035, allocations: 0.7041 MB / 1.253 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002025/1.035, allocations: 80.19 kB / 1.253 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/1.037, allocations: 0.91 MB / 1.254 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003064/1.037, allocations: 384 kB / 1.254 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004839/1.038, allocations: 0.5004 MB / 1.255 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/1.039, allocations: 1.532 MB / 1.256 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.039, allocations: 0 / 1.256 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/1.039, allocations: 0.9062 kB / 1.256 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.64e-05/1.039, allocations: 3.922 kB / 1.256 GB, free: 3.512 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001585/1.041, allocations: 1.227 MB / 1.257 GB, free: 18.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/1.041, allocations: 11.97 kB / 1.257 GB, free: 18.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/1.041, allocations: 120.7 kB / 1.257 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/1.042, allocations: 218 kB / 1.258 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008198/1.043, allocations: 0.6506 MB / 1.258 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.043, allocations: 54.44 kB / 1.258 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/1.043, allocations: 78.97 kB / 1.258 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.044, allocations: 0.9348 MB / 1.259 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.044, allocations: 9.531 kB / 1.259 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/1.044, allocations: 29.62 kB / 1.259 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/1.044, allocations: 33.52 kB / 1.259 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/1.045, allocations: 0.6185 MB / 1.26 GB, free: 18.17 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.003469/1.049, allocations: 4.587 MB / 1.264 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/1.049, allocations: 0.5452 MB / 1.265 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/1.05, allocations: 248.8 kB / 1.265 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/1.05, allocations: 102.1 kB / 1.265 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/1.05, allocations: 39.8 kB / 1.265 GB, free: 14.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/1.05, allocations: 4.484 kB / 1.265 GB, free: 14.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.00254/1.052, allocations: 1.581 MB / 1.267 GB, free: 14.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.052, allocations: 108.5 kB / 1.267 GB, free: 13.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008457/1.053, allocations: 0.7187 MB / 1.268 GB, free: 13.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/1.053, allocations: 38.81 kB / 1.268 GB, free: 13.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/1.054, allocations: 419.7 kB / 1.268 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/1.054, allocations: 165.9 kB / 1.268 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/1.054, allocations: 118.9 kB / 1.268 GB, free: 13.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/1.054, allocations: 332.7 kB / 1.269 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/1.054, allocations: 186.5 kB / 1.269 GB, free: 13.18 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/1.055, allocations: 425.1 kB / 1.269 GB, free: 12.93 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/1.057, allocations: 1.179 MB / 1.271 GB, free: 12.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.057, allocations: 1.25 kB / 1.271 GB, free: 12.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009687/1.058, allocations: 0.6666 MB / 1.271 GB, free: 12.53 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.058, allocations: 11.77 kB / 1.271 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.058, allocations: 6.156 kB / 1.271 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/1.058, allocations: 11.44 kB / 1.271 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/1.058, allocations: 123.6 kB / 1.271 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/1.058, allocations: 17.78 kB / 1.271 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/1.059, allocations: 58.97 kB / 1.271 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/1.059, allocations: 26.97 kB / 1.271 GB, free: 12.52 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003557/1.059, allocations: 274 kB / 1.272 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/1.06, allocations: 81.02 kB / 1.272 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/1.06, allocations: 92.53 kB / 1.272 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/1.06, allocations: 5.906 kB / 1.272 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.06, allocations: 6.516 kB / 1.272 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007415/1.061, allocations: 0.6972 MB / 1.273 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/1.063, allocations: 1.641 MB / 1.274 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.063, allocations: 3.906 kB / 1.274 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/1.063, allocations: 100.3 kB / 1.274 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.063, allocations: 5.188 kB / 1.274 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/1.063, allocations: 19.38 kB / 1.274 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/1.063, allocations: 9.422 kB / 1.274 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.063, allocations: 12.44 kB / 1.274 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/1.064, allocations: 0.8615 MB / 1.275 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/1.065, allocations: 205.8 kB / 1.275 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.065, allocations: 17.83 kB / 1.275 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/1.065, allocations: 35.27 kB / 1.275 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/1.065, allocations: 42.36 kB / 1.275 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/1.065, allocations: 19.31 kB / 1.275 GB, free: 10.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005568/1.066, allocations: 0.5117 MB / 1.276 GB, free: 10.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.066, allocations: 2.906 kB / 1.276 GB, free: 10.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006575/1.067, allocations: 197.6 kB / 1.276 GB, free: 10.75 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001447/1.068, allocations: 1.513 MB / 1.278 GB, free: 9.902 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007509/1.069, allocations: 0.514 MB / 1.278 GB, free: 9.891 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.069, allocations: 2.188 kB / 1.278 GB, free: 9.891 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/1.069, allocations: 211.8 kB / 1.278 GB, free: 9.891 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/1.071, allocations: 490.4 kB / 1.279 GB, free: 9.824 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008182/1.079, allocations: 7.176 MB / 1.286 GB, free: 6.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/1.08, allocations: 1.027 MB / 1.287 GB, free: 5.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006676/1.08, allocations: 202.5 kB / 1.287 GB, free: 5.938 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/1.081, allocations: 300.3 kB / 1.287 GB, free: 5.93 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/1.081, allocations: 0 / 1.287 GB, free: 5.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.599/3.679, allocations: 21.89 MB / 1.309 GB, free: 4.492 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/3.68, allocations: 284.7 kB / 1.309 GB, free: 4.113 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.479/7.159, allocations: 1.094 kB / 1.309 GB, free: 4.113 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches