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.001128/0.001128, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.00111/0.00111, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 4.527 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.559/2.559, allocations: 437.1 MB / 0.7107 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 0.8694 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.68/0.6812, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1899/0.8712, allocations: 168.5 MB / 1.182 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006109/0.8773, allocations: 3.345 MB / 1.185 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.8784, allocations: 27.81 kB / 1.185 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.8796, allocations: 278.6 kB / 1.186 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.8825, allocations: 0.9532 MB / 1.187 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.8844, allocations: 0.6113 MB / 1.187 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.8866, allocations: 1.525 MB / 1.189 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008714/0.8875, allocations: 473.4 kB / 1.189 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.8888, allocations: 0.5603 MB / 1.19 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.8902, allocations: 498.2 kB / 1.19 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.8904, allocations: 56 kB / 1.19 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.8922, allocations: 0.8689 MB / 1.191 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.8926, allocations: 235.4 kB / 1.191 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006669/0.8933, allocations: 330.7 kB / 1.192 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.8947, allocations: 0.8652 MB / 1.192 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.8947, allocations: 4 kB / 1.192 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8947, allocations: 0 / 1.192 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.153e-05/0.8948, allocations: 0 / 1.192 GB, free: 14.94 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.001943/0.8967, allocations: 0.9116 MB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.8968, allocations: 12.03 kB / 1.193 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.8982, allocations: 167.1 kB / 1.193 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008466/0.899, allocations: 0.4974 MB / 1.194 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.8991, allocations: 41 kB / 1.194 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.8991, allocations: 40 kB / 1.194 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008281/0.9, allocations: 482.3 kB / 1.194 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.9, allocations: 3.938 kB / 1.194 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.9001, allocations: 23.98 kB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.9001, allocations: 17 kB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006172/0.9007, allocations: 415.7 kB / 1.195 GB, free: 12.25 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.002438/0.9032, allocations: 1.736 MB / 1.197 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.9036, allocations: 290.6 kB / 1.197 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.9039, allocations: 182.5 kB / 1.197 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.9041, allocations: 109.1 kB / 1.197 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.9041, allocations: 34.5 kB / 1.197 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/0.9042, allocations: 4 kB / 1.197 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.001931/0.9061, allocations: 1.052 MB / 1.198 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.9061, allocations: 55.41 kB / 1.198 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.9066, allocations: 461.9 kB / 1.199 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.9067, allocations: 33.7 kB / 1.199 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.9068, allocations: 252.1 kB / 1.199 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.804e-05/0.9069, allocations: 118.2 kB / 1.199 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.9071, allocations: 69.69 kB / 1.199 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.9072, allocations: 350.8 kB / 1.199 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.9074, allocations: 131.9 kB / 1.2 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.9076, allocations: 209.5 kB / 1.2 GB, free: 6.926 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.001866/0.9095, allocations: 0.8624 MB / 1.201 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9095, allocations: 0 / 1.201 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000576/0.9101, allocations: 412.6 kB / 1.201 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.9101, allocations: 4 kB / 1.201 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.9102, allocations: 7.984 kB / 1.201 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9102, allocations: 8.188 kB / 1.201 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.9105, allocations: 71.91 kB / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.9105, allocations: 0 / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.9109, allocations: 35.81 kB / 1.201 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.9109, allocations: 12 kB / 1.201 GB, free: 5.477 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.0002412/0.9112, allocations: 213.7 kB / 1.201 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.9113, allocations: 55.36 kB / 1.201 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.9114, allocations: 64.75 kB / 1.201 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.9114, allocations: 4 kB / 1.202 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.9114, allocations: 0 / 1.202 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004693/0.9119, allocations: 404.3 kB / 1.202 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.9136, allocations: 1.251 MB / 1.203 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.9136, allocations: 4 kB / 1.203 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.914, allocations: 75.84 kB / 1.203 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.914, allocations: 7.938 kB / 1.203 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.914, allocations: 12 kB / 1.203 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.914, allocations: 4 kB / 1.203 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.914, allocations: 11.94 kB / 1.203 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.9148, allocations: 0.6929 MB / 1.204 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.9151, allocations: 176.6 kB / 1.204 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.9151, allocations: 16 kB / 1.204 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.9156, allocations: 27.92 kB / 1.204 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.9156, allocations: 39.75 kB / 1.204 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.9157, allocations: 27.92 kB / 1.204 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000338/0.916, allocations: 327.1 kB / 1.204 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.916, allocations: 4 kB / 1.204 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005301/0.9166, allocations: 140 kB / 1.205 GB, free: 1.727 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.0004073/0.917, allocations: 158 kB / 1.205 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005648/0.9176, allocations: 353.5 kB / 1.205 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9176, allocations: 0 / 1.205 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.9178, allocations: 159.7 kB / 1.205 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.9194, allocations: 376.5 kB / 1.206 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.9213, allocations: 1.35 MB / 1.207 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.9217, allocations: 0.8784 MB / 1.208 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.9218, allocations: 51.42 kB / 1.208 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.9218, allocations: 0 / 1.208 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.01199/0.9338, allocations: 8.603 MB / 1.216 GB, free: 5.809 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/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