Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_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.0009832/0.0009833, allocations: 91.14 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.007943/0.007943, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5192, allocations: 142.4 MB / 0.9552 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1587/0.678, allocations: 182.6 MB / 1.133 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01495/0.6929, allocations: 12.95 MB / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.6941, allocations: 27.81 kB / 1.146 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.6954, allocations: 350 kB / 1.146 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.698, allocations: 1.085 MB / 1.148 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.6996, allocations: 0.6326 MB / 1.148 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002875/0.7025, allocations: 2.776 MB / 1.151 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009085/0.7034, allocations: 0.7023 MB / 1.152 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.7063, allocations: 1.627 MB / 1.153 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.7076, allocations: 0.6616 MB / 1.154 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.7077, allocations: 36 kB / 1.154 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.7092, allocations: 0.9663 MB / 1.155 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.7095, allocations: 339 kB / 1.155 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.7099, allocations: 471.3 kB / 1.156 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.7113, allocations: 1.476 MB / 1.157 GB, free: 64 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.7113, allocations: 0 / 1.157 GB, free: 64 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7113, allocations: 0 / 1.157 GB, free: 64 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.7113, allocations: 0 / 1.157 GB, free: 64 kB / 0.9044 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.001403/0.7127, allocations: 1.048 MB / 1.158 GB, free: 14.96 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.7128, allocations: 8.031 kB / 1.158 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.7129, allocations: 126.5 kB / 1.158 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.714, allocations: 214.6 kB / 1.158 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.7149, allocations: 0.6403 MB / 1.159 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.7149, allocations: 58 kB / 1.159 GB, free: 13.87 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.715, allocations: 79.91 kB / 1.159 GB, free: 13.79 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.7163, allocations: 0.9366 MB / 1.16 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.7163, allocations: 7.875 kB / 1.16 GB, free: 12.76 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.7164, allocations: 32 kB / 1.16 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.7164, allocations: 29.31 kB / 1.16 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.7173, allocations: 0.6216 MB / 1.161 GB, free: 12.08 MB / 0.92 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.003839/0.7212, allocations: 4.593 MB / 1.165 GB, free: 7.195 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.7219, allocations: 0.5342 MB / 1.166 GB, free: 6.617 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.7222, allocations: 252.3 kB / 1.166 GB, free: 6.363 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.7224, allocations: 105.1 kB / 1.166 GB, free: 6.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.7224, allocations: 46.28 kB / 1.166 GB, free: 6.188 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.7224, allocations: 0 / 1.166 GB, free: 6.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002442/0.7249, allocations: 1.578 MB / 1.168 GB, free: 4.551 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.7249, allocations: 106.8 kB / 1.168 GB, free: 4.422 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.7258, allocations: 0.7155 MB / 1.168 GB, free: 3.695 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.7258, allocations: 37.7 kB / 1.168 GB, free: 3.652 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.7261, allocations: 419.7 kB / 1.169 GB, free: 3.234 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.7262, allocations: 165.7 kB / 1.169 GB, free: 3.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.7263, allocations: 53.69 kB / 1.169 GB, free: 3.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.7264, allocations: 334 kB / 1.169 GB, free: 2.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.7267, allocations: 189.2 kB / 1.17 GB, free: 2.496 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.7272, allocations: 413 kB / 1.17 GB, free: 1.996 MB / 0.92 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.002148/0.7293, allocations: 1.185 MB / 1.171 GB, free: 0.707 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.7293, allocations: 0 / 1.171 GB, free: 0.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009124/0.7303, allocations: 0.6759 MB / 1.172 GB, free: 24 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7303, allocations: 9.812 kB / 1.172 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.7303, allocations: 12 kB / 1.172 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.7303, allocations: 8.047 kB / 1.172 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.7307, allocations: 131.7 kB / 1.172 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.7308, allocations: 8 kB / 1.172 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.7313, allocations: 60.36 kB / 1.172 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.7314, allocations: 24 kB / 1.172 GB, free: 15.78 MB / 0.9356 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.0003068/0.7317, allocations: 277.5 kB / 1.172 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.7319, allocations: 83 kB / 1.172 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.7321, allocations: 91.66 kB / 1.172 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.7321, allocations: 7.938 kB / 1.172 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7321, allocations: 0 / 1.172 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006619/0.7328, allocations: 0.7038 MB / 1.173 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.7349, allocations: 1.638 MB / 1.175 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.7349, allocations: 7.969 kB / 1.175 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.7353, allocations: 107.8 kB / 1.175 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.7354, allocations: 4 kB / 1.175 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.7354, allocations: 12 kB / 1.175 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.7354, allocations: 8 kB / 1.175 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.7354, allocations: 7.938 kB / 1.175 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.7364, allocations: 0.8723 MB / 1.176 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.7367, allocations: 204 kB / 1.176 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.7368, allocations: 19.98 kB / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.7372, allocations: 33.11 kB / 1.176 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.7373, allocations: 43.83 kB / 1.176 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.7373, allocations: 20.19 kB / 1.176 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000614/0.738, allocations: 0.5107 MB / 1.177 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.738, allocations: 0 / 1.177 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00063/0.7386, allocations: 204 kB / 1.177 GB, free: 10.66 MB / 0.9356 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.001608/0.7402, allocations: 1.523 MB / 1.178 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006886/0.7409, allocations: 473 kB / 1.179 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7409, allocations: 0 / 1.179 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.7412, allocations: 213 kB / 1.179 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.7436, allocations: 461.3 kB / 1.179 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008431/0.752, allocations: 7.266 MB / 1.186 GB, free: 304 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.7526, allocations: 1.024 MB / 1.187 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005911/0.7532, allocations: 203 kB / 1.188 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.7536, allocations: 303.3 kB / 1.188 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.7536, allocations: 4 kB / 1.188 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3544/1.108, allocations: 21.12 MB / 1.209 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000321/1.108, allocations: 277.9 kB / 1.209 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.307, allocations: 3.938 kB / 1.209 GB, free: 9.652 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches