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.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.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.0008891/0.000889, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005471/0.005471, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.536/2.536, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 9.078 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2721, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1743/0.4465, allocations: 182.6 MB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01367/0.4602, allocations: 12.94 MB / 1.25 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007069/0.461, allocations: 31.81 kB / 1.25 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009908/0.462, allocations: 350 kB / 1.25 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.5127/0.9746, allocations: 1.083 MB / 1.251 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.9762, allocations: 0.6288 MB / 1.252 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002714/0.9789, allocations: 2.779 MB / 1.254 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007635/0.9797, allocations: 0.7031 MB / 1.255 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.9825, allocations: 1.622 MB / 1.257 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.9838, allocations: 0.6569 MB / 1.257 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.9839, allocations: 33.94 kB / 1.257 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.9855, allocations: 0.9674 MB / 1.258 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.9858, allocations: 340.8 kB / 1.259 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.9862, allocations: 472.9 kB / 1.259 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.9878, allocations: 1.475 MB / 1.261 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.9878, allocations: 2.906 kB / 1.261 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9878, allocations: 0.7969 kB / 1.261 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.9878, allocations: 0 / 1.261 GB, free: 2.59 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.001489/0.9893, allocations: 1.047 MB / 1.262 GB, free: 17.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.9893, allocations: 9.094 kB / 1.262 GB, free: 17.91 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.9895, allocations: 126.4 kB / 1.262 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.9905, allocations: 220 kB / 1.262 GB, free: 17.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.9913, allocations: 0.6441 MB / 1.263 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.9914, allocations: 57.62 kB / 1.263 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.9915, allocations: 78.91 kB / 1.263 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.9926, allocations: 0.9352 MB / 1.264 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.9927, allocations: 2.906 kB / 1.264 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.9927, allocations: 32.84 kB / 1.264 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.9928, allocations: 30.55 kB / 1.264 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000831/0.9936, allocations: 0.6174 MB / 1.264 GB, free: 17.25 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.003802/0.9974, allocations: 4.594 MB / 1.269 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007586/0.9982, allocations: 0.5456 MB / 1.269 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.9986, allocations: 249.6 kB / 1.27 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.9987, allocations: 98.95 kB / 1.27 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.9988, allocations: 41.89 kB / 1.27 GB, free: 13.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.9988, allocations: 4 kB / 1.27 GB, free: 13.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002649/1.001, allocations: 1.581 MB / 1.271 GB, free: 13.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.002, allocations: 111.1 kB / 1.271 GB, free: 13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/1.002, allocations: 0.7186 MB / 1.272 GB, free: 12.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/1.002, allocations: 41.02 kB / 1.272 GB, free: 12.83 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/1.003, allocations: 418.1 kB / 1.272 GB, free: 12.64 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/1.003, allocations: 161.9 kB / 1.273 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/1.003, allocations: 55.86 kB / 1.273 GB, free: 12.53 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.003, allocations: 334.3 kB / 1.273 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/1.003, allocations: 186.4 kB / 1.273 GB, free: 12.22 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/1.004, allocations: 422.5 kB / 1.274 GB, free: 11.96 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.002246/1.006, allocations: 1.182 MB / 1.275 GB, free: 11.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.006, allocations: 1.812 kB / 1.275 GB, free: 11.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001168/1.007, allocations: 0.6649 MB / 1.275 GB, free: 11.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.007, allocations: 9.375 kB / 1.275 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.007, allocations: 7.484 kB / 1.275 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.007, allocations: 9.531 kB / 1.275 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/1.008, allocations: 126 kB / 1.276 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/1.008, allocations: 21.8 kB / 1.276 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/1.008, allocations: 54.44 kB / 1.276 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/1.008, allocations: 27.72 kB / 1.276 GB, free: 11.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 sytem: 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.0003489/1.009, allocations: 281.6 kB / 1.276 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/1.009, allocations: 79.92 kB / 1.276 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/1.009, allocations: 91.05 kB / 1.276 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.009, allocations: 6.75 kB / 1.276 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.009, allocations: 4.734 kB / 1.276 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006405/1.01, allocations: 0.6983 MB / 1.277 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/1.012, allocations: 1.644 MB / 1.278 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.012, allocations: 4.703 kB / 1.278 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/1.013, allocations: 99 kB / 1.278 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.013, allocations: 8.188 kB / 1.278 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/1.013, allocations: 14.84 kB / 1.278 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/1.013, allocations: 10.61 kB / 1.278 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.013, allocations: 11.66 kB / 1.279 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/1.014, allocations: 0.8715 MB / 1.279 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/1.014, allocations: 203.1 kB / 1.28 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.954e-05/1.014, allocations: 16.47 kB / 1.28 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/1.014, allocations: 45.66 kB / 1.28 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/1.015, allocations: 38.14 kB / 1.28 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/1.015, allocations: 20.48 kB / 1.28 GB, free: 9.816 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006329/1.015, allocations: 0.5131 MB / 1.28 GB, free: 9.723 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.52e-07/1.015, allocations: 0 / 1.28 GB, free: 9.723 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007187/1.016, allocations: 205.9 kB / 1.28 GB, free: 9.719 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.001537/1.018, allocations: 1.503 MB / 1.282 GB, free: 8.855 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000699/1.018, allocations: 472.9 kB / 1.282 GB, free: 8.844 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.018, allocations: 1.031 kB / 1.282 GB, free: 8.844 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/1.019, allocations: 215 kB / 1.282 GB, free: 8.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/1.021, allocations: 457.9 kB / 1.283 GB, free: 8.812 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0085/1.029, allocations: 7.249 MB / 1.29 GB, free: 5.484 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/1.03, allocations: 1.033 MB / 1.291 GB, free: 4.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000695/1.031, allocations: 202.2 kB / 1.291 GB, free: 4.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/1.031, allocations: 303.9 kB / 1.292 GB, free: 4.719 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/1.031, allocations: 0 / 1.292 GB, free: 4.719 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.45/4.481, allocations: 21.14 MB / 1.312 GB, free: 2.93 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/4.481, allocations: 281.6 kB / 1.312 GB, free: 2.555 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/7.134, allocations: 0 / 1.312 GB, free: 2.555 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