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.001559/0.00156, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001811/0.001811, allocations: 199.5 kB / 16.26 MB, free: 6.621 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.675/2.675, allocations: 437 MB / 0.71 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 67.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7451/0.7466, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1972/0.9439, allocations: 168.5 MB / 1.181 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006551/0.9505, allocations: 3.363 MB / 1.185 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.9516, allocations: 15.88 kB / 1.185 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.9529, allocations: 290.6 kB / 1.185 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.9558, allocations: 0.9532 MB / 1.186 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.9577, allocations: 0.6077 MB / 1.186 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.9598, allocations: 1.525 MB / 1.188 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007899/0.9606, allocations: 477.4 kB / 1.188 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.9619, allocations: 0.5603 MB / 1.189 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.9633, allocations: 0.4933 MB / 1.189 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.9635, allocations: 56 kB / 1.189 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.9652, allocations: 0.8689 MB / 1.19 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.9655, allocations: 235.4 kB / 1.191 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005277/0.9661, allocations: 346.4 kB / 1.191 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.9679, allocations: 1.18 MB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.968, allocations: 4 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.422e-06/0.968, allocations: 3.938 kB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.968, allocations: 0 / 1.192 GB, free: 14.61 MB / 0.9512 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.001684/0.9697, allocations: 0.9077 MB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.9697, allocations: 15.97 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.971, allocations: 175.1 kB / 1.193 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.9718, allocations: 0.4936 MB / 1.194 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.9719, allocations: 29 kB / 1.194 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.972, allocations: 48 kB / 1.194 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.9728, allocations: 474.4 kB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.9728, allocations: 0 / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/0.9729, allocations: 24 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.9729, allocations: 13 kB / 1.194 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.9735, allocations: 411.7 kB / 1.195 GB, free: 11.95 MB / 0.9512 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.002718/0.9763, allocations: 1.743 MB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.9768, allocations: 290.6 kB / 1.197 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.977, allocations: 182.1 kB / 1.197 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.9772, allocations: 93.09 kB / 1.197 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.9773, allocations: 46.5 kB / 1.197 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.9773, allocations: 3.938 kB / 1.197 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002107/0.9794, allocations: 1.052 MB / 1.198 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.9794, allocations: 55.41 kB / 1.198 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/0.9799, allocations: 457.9 kB / 1.198 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.98, allocations: 37.7 kB / 1.198 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.9802, allocations: 252.1 kB / 1.199 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.9803, allocations: 114.3 kB / 1.199 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.9804, allocations: 69.69 kB / 1.199 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9806, allocations: 354.8 kB / 1.199 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.9808, allocations: 123.9 kB / 1.199 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.9811, allocations: 209.5 kB / 1.199 GB, free: 6.621 MB / 0.9512 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.001935/0.983, allocations: 0.8682 MB / 1.2 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.983, allocations: 0 / 1.2 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006517/0.9837, allocations: 416.6 kB / 1.201 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.9837, allocations: 8 kB / 1.201 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9837, allocations: 0 / 1.201 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9837, allocations: 4 kB / 1.201 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.984, allocations: 76.09 kB / 1.201 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.9841, allocations: 4 kB / 1.201 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.9845, allocations: 35.75 kB / 1.201 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.9846, allocations: 16 kB / 1.201 GB, free: 5.16 MB / 0.9512 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.0002758/0.9849, allocations: 213.7 kB / 1.201 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.985, allocations: 55.38 kB / 1.201 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.9851, allocations: 56.75 kB / 1.201 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9851, allocations: 7.938 kB / 1.201 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.9851, allocations: 0 / 1.201 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000503/0.9856, allocations: 408.3 kB / 1.202 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.9875, allocations: 1.244 MB / 1.203 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.9875, allocations: 11.92 kB / 1.203 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.9879, allocations: 67.91 kB / 1.203 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.9879, allocations: 8 kB / 1.203 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.9879, allocations: 8 kB / 1.203 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.9879, allocations: 8 kB / 1.203 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.988, allocations: 11.88 kB / 1.203 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008696/0.9888, allocations: 0.7005 MB / 1.204 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.9891, allocations: 168.5 kB / 1.204 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.9892, allocations: 16.06 kB / 1.204 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.9896, allocations: 28.67 kB / 1.204 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.9897, allocations: 39.75 kB / 1.204 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.9898, allocations: 19.98 kB / 1.204 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004118/0.9902, allocations: 331.1 kB / 1.204 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9902, allocations: 0 / 1.204 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005957/0.9908, allocations: 144 kB / 1.204 GB, free: 1.422 MB / 0.9512 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.0004666/0.9913, allocations: 163.3 kB / 1.204 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006151/0.9919, allocations: 343.9 kB / 1.205 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.9919, allocations: 4 kB / 1.205 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.9922, allocations: 161.1 kB / 1.205 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.9939, allocations: 384.4 kB / 1.205 GB, free: 408 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.996, allocations: 1.298 MB / 1.207 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.9965, allocations: 0.8822 MB / 1.207 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005359/0.997, allocations: 144.5 kB / 1.208 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.9972, allocations: 47.42 kB / 1.208 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.9972, allocations: 0 / 1.208 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of Templates: time 0.02096/1.018, allocations: 10.99 MB / 1.218 GB, free: 3.121 MB / 0.9669 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches