Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_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.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001576/0.001576, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 461.8 MB / 0.7342 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 65.98 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.241, allocations: 157.4 MB / 1.052 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1725/0.4135, allocations: 188.1 MB / 1.236 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008046/0.4216, allocations: 5.767 MB / 1.242 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008328/0.4225, allocations: 35.75 kB / 1.242 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.4238, allocations: 493.5 kB / 1.242 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.4271, allocations: 1.528 MB / 1.244 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.4297, allocations: 1.074 MB / 1.245 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5167/0.9464, allocations: 3.483 MB / 1.248 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.9477, allocations: 0.8559 MB / 1.249 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.9493, allocations: 0.8856 MB / 1.25 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.9507, allocations: 0.8599 MB / 1.251 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.9509, allocations: 52.75 kB / 1.251 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.9534, allocations: 1.705 MB / 1.252 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.9538, allocations: 454.1 kB / 1.253 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005545/0.9543, allocations: 0.5702 MB / 1.253 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.9566, allocations: 2.13 MB / 1.255 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9566, allocations: 4 kB / 1.255 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9566, allocations: 2.906 kB / 1.255 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.9567, allocations: 1.203 kB / 1.255 GB, free: 3.848 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.002175/0.9588, allocations: 1.479 MB / 1.257 GB, free: 19.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.9589, allocations: 8.656 kB / 1.257 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.9591, allocations: 141.7 kB / 1.257 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.9609, allocations: 328 kB / 1.257 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.9619, allocations: 0.7735 MB / 1.258 GB, free: 18.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/0.9623, allocations: 120.9 kB / 1.258 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.9624, allocations: 85.02 kB / 1.258 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.964, allocations: 1.071 MB / 1.259 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.9641, allocations: 0.75 kB / 1.259 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.9642, allocations: 37.16 kB / 1.259 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.9642, allocations: 35.89 kB / 1.259 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.9656, allocations: 0.839 MB / 1.26 GB, free: 18.52 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.005439/0.9711, allocations: 4.049 MB / 1.264 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.9718, allocations: 370.3 kB / 1.264 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.9721, allocations: 211.5 kB / 1.265 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.9723, allocations: 99.88 kB / 1.265 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.9723, allocations: 41.5 kB / 1.265 GB, free: 16.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 1.563e-06/0.9724, allocations: 0 / 1.265 GB, free: 16.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.002411/0.9748, allocations: 1.331 MB / 1.266 GB, free: 15.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.9748, allocations: 63.61 kB / 1.266 GB, free: 15.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.9763, allocations: 0.9876 MB / 1.267 GB, free: 15.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.9763, allocations: 37.36 kB / 1.267 GB, free: 15.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.9767, allocations: 0.4889 MB / 1.268 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.9768, allocations: 141.8 kB / 1.268 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.977, allocations: 113.1 kB / 1.268 GB, free: 15.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.9771, allocations: 331.3 kB / 1.268 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.9776, allocations: 236.8 kB / 1.268 GB, free: 15.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.9783, allocations: 402 kB / 1.269 GB, free: 14.86 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.002827/0.9811, allocations: 1.188 MB / 1.27 GB, free: 14.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.9811, allocations: 1.75 kB / 1.27 GB, free: 14.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001508/0.9826, allocations: 0.7567 MB / 1.271 GB, free: 14.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.9826, allocations: 8.844 kB / 1.271 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.9827, allocations: 4.094 kB / 1.271 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.9827, allocations: 8 kB / 1.271 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.9832, allocations: 145 kB / 1.271 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.9833, allocations: 12 kB / 1.271 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008751/0.9841, allocations: 91.19 kB / 1.271 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.9842, allocations: 25.17 kB / 1.271 GB, free: 14.44 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: 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.0003676/0.9846, allocations: 308.1 kB / 1.271 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.9847, allocations: 106.3 kB / 1.271 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.9849, allocations: 103.2 kB / 1.271 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.9849, allocations: 4.75 kB / 1.271 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.9849, allocations: 5.5 kB / 1.271 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006466/0.9856, allocations: 0.6841 MB / 1.272 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.9878, allocations: 1.582 MB / 1.274 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.9879, allocations: 7.75 kB / 1.274 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.9882, allocations: 85.14 kB / 1.274 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.9883, allocations: 5.781 kB / 1.274 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.9883, allocations: 17.22 kB / 1.274 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.9883, allocations: 10.44 kB / 1.274 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.9883, allocations: 5.266 kB / 1.274 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.9893, allocations: 0.8278 MB / 1.275 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.9897, allocations: 236.2 kB / 1.275 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.9898, allocations: 14.72 kB / 1.275 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/0.9905, allocations: 58.02 kB / 1.275 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.9906, allocations: 37.22 kB / 1.275 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.9907, allocations: 26.17 kB / 1.275 GB, free: 12.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001037/0.9917, allocations: 0.7065 MB / 1.276 GB, free: 12.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.01e-07/0.9917, allocations: 0 / 1.276 GB, free: 12.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008152/0.9925, allocations: 255.3 kB / 1.276 GB, free: 12.76 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.00156/0.9941, allocations: 1.478 MB / 1.277 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009157/0.995, allocations: 484.7 kB / 1.278 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.995, allocations: 1.281 kB / 1.278 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.9953, allocations: 197.8 kB / 1.278 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.9979, allocations: 0.5988 MB / 1.279 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.009, allocations: 8.214 MB / 1.287 GB, free: 8.379 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/1.009, allocations: 1.096 MB / 1.288 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00095/1.01, allocations: 245.7 kB / 1.288 GB, free: 7.621 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/1.011, allocations: 343.9 kB / 1.288 GB, free: 7.613 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/1.011, allocations: 0 / 1.288 GB, free: 7.613 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.544/1.555, allocations: 26.61 MB / 1.314 GB, free: 4.012 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/1.555, allocations: 277.4 kB / 1.314 GB, free: 3.652 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/3.735, allocations: 7.75 kB / 1.314 GB, free: 3.648 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches