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.001147/0.001147, allocations: 106 kB / 16.41 MB, free: 6.516 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.001112/0.001112, allocations: 187 kB / 17.34 MB, free: 5.738 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 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.432/2.432, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9461/0.9477, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1845/1.132, allocations: 170.8 MB / 1.334 GB, free: 8.387 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005756/1.138, allocations: 3.379 MB / 1.337 GB, free: 5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/1.139, allocations: 23.88 kB / 1.337 GB, free: 4.977 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009881/1.14, allocations: 330.1 kB / 1.338 GB, free: 4.652 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/1.142, allocations: 1.054 MB / 1.339 GB, free: 3.594 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/1.144, allocations: 0.672 MB / 1.339 GB, free: 2.926 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001925/1.146, allocations: 1.533 MB / 1.341 GB, free: 1.387 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006798/1.147, allocations: 479 kB / 1.341 GB, free: 0.918 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009564/1.148, allocations: 0.5915 MB / 1.342 GB, free: 332 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/1.149, allocations: 464.9 kB / 1.342 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.717e-05/1.149, allocations: 56 kB / 1.342 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/1.151, allocations: 0.8418 MB / 1.343 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/1.151, allocations: 235.4 kB / 1.343 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003309/1.151, allocations: 334.6 kB / 1.344 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/1.153, allocations: 1.139 MB / 1.345 GB, free: 13.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.153, allocations: 0 / 1.345 GB, free: 13.27 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.834e-06/1.153, allocations: 0 / 1.345 GB, free: 13.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.347e-05/1.153, allocations: 0 / 1.345 GB, free: 13.27 MB / 1.076 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.001461/1.154, allocations: 0.9194 MB / 1.346 GB, free: 12.3 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.154, allocations: 8.922 kB / 1.346 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/1.155, allocations: 171.1 kB / 1.346 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008396/1.156, allocations: 0.5286 MB / 1.347 GB, free: 11.56 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/1.156, allocations: 29 kB / 1.347 GB, free: 11.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.806e-05/1.156, allocations: 44 kB / 1.347 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/1.157, allocations: 470.4 kB / 1.347 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/1.157, allocations: 0 / 1.347 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/1.157, allocations: 20 kB / 1.347 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/1.157, allocations: 20.94 kB / 1.347 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006352/1.158, allocations: 411.7 kB / 1.347 GB, free: 10.58 MB / 1.076 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.002507/1.16, allocations: 1.728 MB / 1.349 GB, free: 8.723 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/1.161, allocations: 294.5 kB / 1.349 GB, free: 8.426 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/1.161, allocations: 178.8 kB / 1.35 GB, free: 8.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/1.161, allocations: 105.1 kB / 1.35 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.161, allocations: 42.5 kB / 1.35 GB, free: 8.078 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.704e-06/1.161, allocations: 0 / 1.35 GB, free: 8.078 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.001944/1.163, allocations: 1.061 MB / 1.351 GB, free: 6.969 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/1.163, allocations: 55.41 kB / 1.351 GB, free: 6.902 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004734/1.164, allocations: 457.8 kB / 1.351 GB, free: 6.445 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/1.164, allocations: 33.7 kB / 1.351 GB, free: 6.406 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/1.164, allocations: 252.1 kB / 1.352 GB, free: 6.156 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/1.164, allocations: 106.4 kB / 1.352 GB, free: 6.051 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.164, allocations: 73.59 kB / 1.352 GB, free: 5.973 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.164, allocations: 358.7 kB / 1.352 GB, free: 5.613 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/1.165, allocations: 127.9 kB / 1.352 GB, free: 5.488 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/1.165, allocations: 201.9 kB / 1.352 GB, free: 5.27 MB / 1.076 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.001881/1.167, allocations: 0.8668 MB / 1.353 GB, free: 4.363 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.167, allocations: 0 / 1.353 GB, free: 4.363 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005818/1.167, allocations: 416.5 kB / 1.354 GB, free: 3.949 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.167, allocations: 8 kB / 1.354 GB, free: 3.941 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.167, allocations: 0 / 1.354 GB, free: 3.941 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.167, allocations: 4.188 kB / 1.354 GB, free: 3.938 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/1.168, allocations: 71.91 kB / 1.354 GB, free: 3.867 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/1.168, allocations: 15.88 kB / 1.354 GB, free: 3.852 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/1.168, allocations: 19.92 kB / 1.354 GB, free: 3.832 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/1.168, allocations: 8 kB / 1.354 GB, free: 3.824 MB / 1.076 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.0002434/1.168, allocations: 210.3 kB / 1.354 GB, free: 3.609 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/1.169, allocations: 51.38 kB / 1.354 GB, free: 3.559 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.169, allocations: 64.75 kB / 1.354 GB, free: 3.496 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/1.169, allocations: 4 kB / 1.354 GB, free: 3.492 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.169, allocations: 4 kB / 1.354 GB, free: 3.488 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000472/1.169, allocations: 400.3 kB / 1.354 GB, free: 3.066 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/1.171, allocations: 1.249 MB / 1.356 GB, free: 1.711 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.171, allocations: 4 kB / 1.356 GB, free: 1.707 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/1.171, allocations: 75.94 kB / 1.356 GB, free: 1.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.171, allocations: 4 kB / 1.356 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/1.171, allocations: 12 kB / 1.356 GB, free: 1.617 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/1.171, allocations: 7.938 kB / 1.356 GB, free: 1.609 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.171, allocations: 7.984 kB / 1.356 GB, free: 1.602 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/1.172, allocations: 0.7036 MB / 1.356 GB, free: 0.832 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/1.172, allocations: 164.5 kB / 1.357 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/1.172, allocations: 12 kB / 1.357 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/1.173, allocations: 17.11 kB / 1.357 GB, free: 0.625 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/1.173, allocations: 39.91 kB / 1.357 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/1.173, allocations: 19.98 kB / 1.357 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003406/1.173, allocations: 331.1 kB / 1.357 GB, free: 248 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/1.173, allocations: 0 / 1.357 GB, free: 248 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005193/1.174, allocations: 140 kB / 1.357 GB, free: 108 kB / 1.076 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.0004241/1.174, allocations: 184.5 kB / 1.357 GB, free: 15.93 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005136/1.175, allocations: 324.3 kB / 1.358 GB, free: 15.61 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.175, allocations: 4 kB / 1.358 GB, free: 15.61 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002143/1.175, allocations: 165 kB / 1.358 GB, free: 15.45 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.177, allocations: 364.7 kB / 1.358 GB, free: 15.1 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/1.178, allocations: 1.146 MB / 1.359 GB, free: 13.87 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/1.179, allocations: 0.8977 MB / 1.36 GB, free: 12.94 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/1.179, allocations: 43.44 kB / 1.36 GB, free: 12.9 MB / 1.092 GB Notification: Performance of SimCode: time 2.8e-07/1.179, allocations: 0 / 1.36 GB, free: 12.9 MB / 1.092 GB Notification: Performance of Templates: time 0.01243/1.191, allocations: 8.674 MB / 1.369 GB, free: 4.316 MB / 1.092 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