Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_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.005298/0.005298, allocations: 103.6 kB / 15.73 MB, free: 6.445 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.0013/0.0013, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3067, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.9435/1.25, allocations: 170.8 MB / 1.375 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006067/1.256, allocations: 3.38 MB / 1.378 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009092/1.257, allocations: 21.84 kB / 1.378 GB, free: 12.4 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/1.258, allocations: 318.5 kB / 1.378 GB, free: 12.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002919/1.261, allocations: 1.018 MB / 1.379 GB, free: 11.5 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/1.263, allocations: 0.6634 MB / 1.38 GB, free: 11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002344/1.266, allocations: 1.523 MB / 1.381 GB, free: 10.13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000929/1.267, allocations: 492 kB / 1.382 GB, free: 9.828 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/1.268, allocations: 0.571 MB / 1.382 GB, free: 9.492 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/1.269, allocations: 458.6 kB / 1.383 GB, free: 9.234 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/1.27, allocations: 53.84 kB / 1.383 GB, free: 9.234 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/1.272, allocations: 0.8373 MB / 1.384 GB, free: 8.781 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/1.272, allocations: 244.9 kB / 1.384 GB, free: 8.617 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007398/1.273, allocations: 335.3 kB / 1.384 GB, free: 8.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/1.275, allocations: 1.129 MB / 1.385 GB, free: 7.688 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.275, allocations: 3.984 kB / 1.385 GB, free: 7.684 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/1.275, allocations: 0 / 1.385 GB, free: 7.684 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.321e-05/1.275, allocations: 0 / 1.385 GB, free: 7.684 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.002082/1.277, allocations: 0.914 MB / 1.386 GB, free: 6.938 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.277, allocations: 10 kB / 1.386 GB, free: 6.938 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.279, allocations: 174.2 kB / 1.386 GB, free: 6.859 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.28, allocations: 0.5236 MB / 1.387 GB, free: 6.418 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/1.28, allocations: 35.16 kB / 1.387 GB, free: 6.402 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/1.28, allocations: 44.56 kB / 1.387 GB, free: 6.387 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/1.281, allocations: 469.3 kB / 1.387 GB, free: 6.121 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.281, allocations: 0 / 1.387 GB, free: 6.121 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/1.281, allocations: 20.88 kB / 1.387 GB, free: 6.105 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/1.281, allocations: 15.94 kB / 1.387 GB, free: 6.105 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/1.282, allocations: 419.1 kB / 1.388 GB, free: 5.902 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.003044/1.285, allocations: 1.722 MB / 1.389 GB, free: 4.469 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005195/1.285, allocations: 295.3 kB / 1.39 GB, free: 4.309 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/1.286, allocations: 181.3 kB / 1.39 GB, free: 4.219 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/1.286, allocations: 103.5 kB / 1.39 GB, free: 4.113 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.286, allocations: 42.06 kB / 1.39 GB, free: 4.066 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/1.286, allocations: 0 / 1.39 GB, free: 4.066 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002226/1.288, allocations: 1.056 MB / 1.391 GB, free: 3.371 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.288, allocations: 63.47 kB / 1.391 GB, free: 3.301 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/1.289, allocations: 459.2 kB / 1.392 GB, free: 3.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/1.289, allocations: 32.7 kB / 1.392 GB, free: 2.984 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/1.289, allocations: 255 kB / 1.392 GB, free: 2.758 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/1.289, allocations: 113.2 kB / 1.392 GB, free: 2.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/1.289, allocations: 69.52 kB / 1.392 GB, free: 2.613 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.289, allocations: 359.7 kB / 1.392 GB, free: 2.266 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/1.29, allocations: 123.5 kB / 1.393 GB, free: 2.207 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/1.29, allocations: 204.2 kB / 1.393 GB, free: 2.062 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.001977/1.292, allocations: 0.8673 MB / 1.394 GB, free: 1.535 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.292, allocations: 0 / 1.394 GB, free: 1.535 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006618/1.293, allocations: 417.4 kB / 1.394 GB, free: 1.316 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.293, allocations: 5.938 kB / 1.394 GB, free: 1.316 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/1.293, allocations: 2.562 kB / 1.394 GB, free: 1.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.293, allocations: 7.281 kB / 1.394 GB, free: 1.312 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/1.293, allocations: 66.78 kB / 1.394 GB, free: 1.301 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.293, allocations: 7.656 kB / 1.394 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/1.293, allocations: 17.47 kB / 1.394 GB, free: 1.285 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/1.294, allocations: 10.78 kB / 1.394 GB, free: 1.285 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.0002805/1.294, allocations: 211.7 kB / 1.394 GB, free: 1.109 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/1.294, allocations: 52.78 kB / 1.394 GB, free: 1.082 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/1.294, allocations: 59.33 kB / 1.394 GB, free: 1.039 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.294, allocations: 7.781 kB / 1.394 GB, free: 1.035 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.294, allocations: 0 / 1.394 GB, free: 1.035 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000517/1.295, allocations: 410.7 kB / 1.395 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/1.297, allocations: 1.24 MB / 1.396 GB, free: 15.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.297, allocations: 11.94 kB / 1.396 GB, free: 15.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/1.297, allocations: 73.69 kB / 1.396 GB, free: 15.76 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/1.297, allocations: 5.844 kB / 1.396 GB, free: 15.76 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.297, allocations: 15.23 kB / 1.396 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/1.297, allocations: 9.312 kB / 1.396 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.297, allocations: 4.5 kB / 1.396 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/1.298, allocations: 0.7048 MB / 1.397 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/1.298, allocations: 167.8 kB / 1.397 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1.298, allocations: 13.52 kB / 1.397 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/1.299, allocations: 16.75 kB / 1.397 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/1.299, allocations: 37.69 kB / 1.397 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/1.299, allocations: 23.92 kB / 1.397 GB, free: 15.03 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003668/1.299, allocations: 329.5 kB / 1.397 GB, free: 14.83 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.51e-07/1.299, allocations: 0 / 1.397 GB, free: 14.83 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006113/1.3, allocations: 140.3 kB / 1.397 GB, free: 14.82 MB / 1.092 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.0004653/1.3, allocations: 189.6 kB / 1.398 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005692/1.301, allocations: 320.2 kB / 1.398 GB, free: 14.54 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/1.301, allocations: 2.531 kB / 1.398 GB, free: 14.54 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/1.301, allocations: 167.7 kB / 1.398 GB, free: 14.46 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/1.303, allocations: 358.2 kB / 1.398 GB, free: 14.29 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.305, allocations: 1.109 MB / 1.4 GB, free: 13.49 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/1.305, allocations: 0.8854 MB / 1.4 GB, free: 12.7 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005107/1.306, allocations: 139.7 kB / 1.401 GB, free: 12.63 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/1.306, allocations: 43.25 kB / 1.401 GB, free: 12.62 MB / 1.092 GB Notification: Performance of SimCode: time 4.71e-07/1.306, allocations: 0 / 1.401 GB, free: 12.62 MB / 1.092 GB Notification: Performance of Templates: time 0.01926/1.325, allocations: 11.3 MB / 1.412 GB, free: 5.727 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches