Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_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.006548/0.006548, allocations: 96.41 kB / 15.73 MB, free: 6.055 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.001322/0.001322, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.462/2.462, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 71.81 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2639, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6544/0.9184, allocations: 187.3 MB / 1.403 GB, free: 2.613 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01476/0.9332, allocations: 13.08 MB / 1.416 GB, free: 8.016 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008417/0.934, allocations: 32.25 kB / 1.416 GB, free: 8.004 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.9351, allocations: 421.4 kB / 1.416 GB, free: 7.652 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.9376, allocations: 1.163 MB / 1.417 GB, free: 6.734 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.9391, allocations: 0.711 MB / 1.418 GB, free: 6.188 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.9411, allocations: 2.011 MB / 1.42 GB, free: 5.035 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009344/0.9421, allocations: 0.8501 MB / 1.421 GB, free: 4.516 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.9452, allocations: 1.809 MB / 1.423 GB, free: 3.328 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.9464, allocations: 0.6644 MB / 1.423 GB, free: 2.938 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.9465, allocations: 78.41 kB / 1.423 GB, free: 2.938 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.9479, allocations: 0.875 MB / 1.424 GB, free: 2.48 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003405/0.9482, allocations: 382 kB / 1.425 GB, free: 2.23 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.9487, allocations: 0.4966 MB / 1.425 GB, free: 1.906 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.9503, allocations: 1.504 MB / 1.427 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.9504, allocations: 0 / 1.427 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9504, allocations: 4 kB / 1.427 GB, free: 0.918 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.9504, allocations: 3.938 kB / 1.427 GB, free: 0.9141 MB / 1.107 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.001601/0.952, allocations: 1.26 MB / 1.428 GB, free: 15.92 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.952, allocations: 8.25 kB / 1.428 GB, free: 15.92 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.9522, allocations: 129.5 kB / 1.428 GB, free: 15.81 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.9532, allocations: 219 kB / 1.428 GB, free: 15.71 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/0.9542, allocations: 0.6882 MB / 1.429 GB, free: 15.16 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.9542, allocations: 56.28 kB / 1.429 GB, free: 15.14 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.035e-05/0.9543, allocations: 80.12 kB / 1.429 GB, free: 15.11 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.9555, allocations: 0.9341 MB / 1.43 GB, free: 14.44 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.9555, allocations: 0 / 1.43 GB, free: 14.44 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.9556, allocations: 41.94 kB / 1.43 GB, free: 14.41 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.9556, allocations: 30.86 kB / 1.43 GB, free: 14.41 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.9565, allocations: 0.62 MB / 1.431 GB, free: 13.95 MB / 1.123 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.00418/0.9607, allocations: 4.59 MB / 1.435 GB, free: 9.066 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.9615, allocations: 0.5416 MB / 1.436 GB, free: 8.48 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.9619, allocations: 250.4 kB / 1.436 GB, free: 8.227 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.962, allocations: 101.1 kB / 1.436 GB, free: 8.109 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.9621, allocations: 38.56 kB / 1.436 GB, free: 8.062 MB / 1.123 GB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.9621, allocations: 0 / 1.436 GB, free: 8.062 MB / 1.123 GB Notification: Performance of matching and sorting (n=45): time 0.002557/0.9646, allocations: 1.628 MB / 1.438 GB, free: 6.379 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.9647, allocations: 110.8 kB / 1.438 GB, free: 6.246 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008043/0.9655, allocations: 0.7116 MB / 1.438 GB, free: 5.523 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.9656, allocations: 37.7 kB / 1.438 GB, free: 5.48 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.9659, allocations: 420.6 kB / 1.439 GB, free: 5.062 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.9661, allocations: 174.5 kB / 1.439 GB, free: 4.891 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.9662, allocations: 122.3 kB / 1.439 GB, free: 4.766 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.9664, allocations: 334 kB / 1.439 GB, free: 4.434 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.9667, allocations: 189.1 kB / 1.44 GB, free: 4.246 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.9672, allocations: 413 kB / 1.44 GB, free: 3.75 MB / 1.123 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.002149/0.9693, allocations: 1.179 MB / 1.441 GB, free: 2.469 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9693, allocations: 4 kB / 1.441 GB, free: 2.465 MB / 1.123 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009598/0.9703, allocations: 0.6724 MB / 1.442 GB, free: 1.785 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.9703, allocations: 15.92 kB / 1.442 GB, free: 1.77 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.9703, allocations: 8.094 kB / 1.442 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.9704, allocations: 12.8 kB / 1.442 GB, free: 1.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.9708, allocations: 123.8 kB / 1.442 GB, free: 1.629 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.9708, allocations: 11.94 kB / 1.442 GB, free: 1.617 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.9713, allocations: 23.98 kB / 1.442 GB, free: 1.594 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.9713, allocations: 28 kB / 1.442 GB, free: 1.566 MB / 1.123 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.0003338/0.9717, allocations: 285.7 kB / 1.442 GB, free: 1.277 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.9718, allocations: 90.86 kB / 1.442 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.972, allocations: 87.66 kB / 1.442 GB, free: 1.105 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.972, allocations: 4 kB / 1.442 GB, free: 1.102 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.972, allocations: 4 kB / 1.442 GB, free: 1.098 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007295/0.9727, allocations: 0.695 MB / 1.443 GB, free: 324 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.975, allocations: 1.647 MB / 1.445 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.975, allocations: 4 kB / 1.445 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.9755, allocations: 103.8 kB / 1.445 GB, free: 14.46 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.9755, allocations: 11.94 kB / 1.445 GB, free: 14.45 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.9755, allocations: 12 kB / 1.445 GB, free: 14.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.9755, allocations: 4.5 kB / 1.445 GB, free: 14.43 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.9755, allocations: 8 kB / 1.445 GB, free: 14.42 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.9766, allocations: 0.8806 MB / 1.446 GB, free: 13.47 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.9769, allocations: 212.5 kB / 1.446 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.977, allocations: 23.92 kB / 1.446 GB, free: 13.22 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.9774, allocations: 15.94 kB / 1.446 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.9775, allocations: 43.83 kB / 1.446 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.9775, allocations: 16 kB / 1.446 GB, free: 13.14 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005919/0.9781, allocations: 0.5146 MB / 1.446 GB, free: 12.63 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9781, allocations: 0 / 1.446 GB, free: 12.63 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000602/0.9787, allocations: 196 kB / 1.447 GB, free: 12.44 MB / 1.139 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.001683/0.9804, allocations: 1.496 MB / 1.448 GB, free: 10.89 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.9811, allocations: 485.1 kB / 1.449 GB, free: 10.42 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9812, allocations: 0 / 1.449 GB, free: 10.42 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.9815, allocations: 212.3 kB / 1.449 GB, free: 10.21 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.9834, allocations: 490.2 kB / 1.449 GB, free: 9.754 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007974/0.9914, allocations: 6.638 MB / 1.456 GB, free: 2.711 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.992, allocations: 1.032 MB / 1.457 GB, free: 1.652 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005311/0.9926, allocations: 199 kB / 1.457 GB, free: 1.453 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.993, allocations: 295.3 kB / 1.457 GB, free: 1.164 MB / 1.139 GB Notification: Performance of SimCode: time 3.51e-07/0.993, allocations: 4 kB / 1.457 GB, free: 1.16 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.213/2.206, allocations: 22.23 MB / 1.479 GB, free: 11.33 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/15.43, allocations: 18.17 kB / 1.479 GB, free: 11.32 MB / 1.17 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches