Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 112.9 kB / 15.99 MB, free: 6.348 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.001502/0.001502, allocations: 195.3 kB / 16.91 MB, free: 6.188 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437.1 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 69.77 kB / 0.8694 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.7336/1.057, allocations: 168.5 MB / 1.182 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006767/1.064, allocations: 3.346 MB / 1.185 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/1.065, allocations: 18.88 kB / 1.185 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/1.066, allocations: 288.2 kB / 1.186 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003188/1.069, allocations: 0.9546 MB / 1.187 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/1.071, allocations: 0.6161 MB / 1.187 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002631/1.074, allocations: 1.526 MB / 1.189 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009582/1.075, allocations: 466.3 kB / 1.189 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/1.077, allocations: 0.5631 MB / 1.19 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/1.078, allocations: 495.5 kB / 1.19 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/1.078, allocations: 54.91 kB / 1.19 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/1.08, allocations: 0.8723 MB / 1.191 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/1.081, allocations: 239.9 kB / 1.191 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006628/1.082, allocations: 338.6 kB / 1.192 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/1.083, allocations: 0.8525 MB / 1.192 GB, free: 276 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.083, allocations: 4 kB / 1.192 GB, free: 272 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/1.083, allocations: 0 / 1.192 GB, free: 272 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.494e-05/1.083, allocations: 4 kB / 1.192 GB, free: 268 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00186/1.085, allocations: 0.911 MB / 1.193 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/1.085, allocations: 10.11 kB / 1.193 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/1.086, allocations: 174.9 kB / 1.193 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009095/1.087, allocations: 0.4974 MB / 1.194 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/1.087, allocations: 37.31 kB / 1.194 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/1.087, allocations: 39.75 kB / 1.194 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/1.088, allocations: 479.5 kB / 1.194 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/1.088, allocations: 4 kB / 1.194 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/1.088, allocations: 21.67 kB / 1.194 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/1.088, allocations: 15.62 kB / 1.195 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/1.089, allocations: 420.1 kB / 1.195 GB, free: 14.48 MB / 0.9044 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.00282/1.092, allocations: 1.738 MB / 1.197 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/1.093, allocations: 292.2 kB / 1.197 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/1.093, allocations: 181.2 kB / 1.197 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/1.093, allocations: 95.56 kB / 1.197 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/1.093, allocations: 42.53 kB / 1.197 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/1.093, allocations: 4 kB / 1.197 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002186/1.095, allocations: 1.052 MB / 1.198 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.095, allocations: 54.28 kB / 1.198 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/1.096, allocations: 459.3 kB / 1.199 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/1.096, allocations: 38.98 kB / 1.199 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/1.096, allocations: 254.8 kB / 1.199 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/1.096, allocations: 111.6 kB / 1.199 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.096, allocations: 69.44 kB / 1.199 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.097, allocations: 355.8 kB / 1.2 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/1.097, allocations: 126.7 kB / 1.2 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/1.097, allocations: 210 kB / 1.2 GB, free: 10.64 MB / 0.9044 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/1.099, allocations: 0.857 MB / 1.201 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.099, allocations: 6.562 kB / 1.201 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006682/1.1, allocations: 415.2 kB / 1.201 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.1, allocations: 9.875 kB / 1.201 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.1, allocations: 0 / 1.201 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.1, allocations: 2.75 kB / 1.201 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/1.1, allocations: 77.38 kB / 1.201 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.1, allocations: 2.531 kB / 1.201 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/1.101, allocations: 36.56 kB / 1.201 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/1.101, allocations: 14.09 kB / 1.201 GB, free: 9.859 MB / 0.9044 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: 7 * 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 (42): * Single equations (assignments): 42 * 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.0003487/1.101, allocations: 210.2 kB / 1.201 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.101, allocations: 55.28 kB / 1.201 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/1.101, allocations: 60.94 kB / 1.202 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.101, allocations: 8.734 kB / 1.202 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.101, allocations: 0 / 1.202 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000529/1.102, allocations: 408.5 kB / 1.202 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/1.104, allocations: 1.239 MB / 1.203 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.104, allocations: 12.52 kB / 1.203 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/1.104, allocations: 73.53 kB / 1.203 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/1.104, allocations: 4.906 kB / 1.203 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/1.105, allocations: 11.81 kB / 1.203 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/1.105, allocations: 4.312 kB / 1.203 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.105, allocations: 9.812 kB / 1.203 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009752/1.106, allocations: 0.7063 MB / 1.204 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/1.106, allocations: 169.1 kB / 1.204 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/1.106, allocations: 11.94 kB / 1.204 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/1.106, allocations: 38.11 kB / 1.204 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/1.107, allocations: 38.34 kB / 1.204 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/1.107, allocations: 22.83 kB / 1.204 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004008/1.107, allocations: 328.9 kB / 1.205 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.107, allocations: 0 / 1.205 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005946/1.108, allocations: 140.1 kB / 1.205 GB, free: 7.387 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0004929/1.108, allocations: 173.5 kB / 1.205 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006226/1.109, allocations: 342.1 kB / 1.205 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.109, allocations: 3.094 kB / 1.205 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/1.109, allocations: 161.2 kB / 1.205 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.111, allocations: 373.6 kB / 1.206 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/1.113, allocations: 1.345 MB / 1.207 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/1.113, allocations: 0.882 MB / 1.208 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/1.113, allocations: 46.67 kB / 1.208 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of SimCode: time 8.32e-07/1.113, allocations: 2.625 kB / 1.208 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of Templates: time 0.0157/1.129, allocations: 8.612 MB / 1.216 GB, free: 13.83 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches