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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001768/0.001768, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.7 MB / 0.7452 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.22 kB / 0.9121 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.432, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2084/0.6405, allocations: 170.8 MB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007736/0.6483, allocations: 3.384 MB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.6494, allocations: 23.88 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.6507, allocations: 310.1 kB / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.6534, allocations: 1.015 MB / 1.24 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.6553, allocations: 0.6576 MB / 1.24 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001977/0.6573, allocations: 1.529 MB / 1.242 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006641/0.658, allocations: 473.5 kB / 1.242 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000893/0.6589, allocations: 0.568 MB / 1.243 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.66, allocations: 469.5 kB / 1.243 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.6601, allocations: 52 kB / 1.243 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.6618, allocations: 0.8301 MB / 1.244 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.662, allocations: 235.4 kB / 1.244 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.6624, allocations: 338.5 kB / 1.245 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.664, allocations: 1.122 MB / 1.246 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.664, allocations: 3.938 kB / 1.246 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.664, allocations: 4 kB / 1.246 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.664, allocations: 0 / 1.246 GB, free: 3.988 MB / 0.9981 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.001479/0.6655, allocations: 0.9154 MB / 1.247 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6656, allocations: 8.031 kB / 1.247 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.6668, allocations: 175.1 kB / 1.247 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.6676, allocations: 0.4935 MB / 1.247 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.6676, allocations: 33 kB / 1.247 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.6677, allocations: 43.98 kB / 1.247 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000765/0.6685, allocations: 490.3 kB / 1.248 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6685, allocations: 0 / 1.248 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/0.6686, allocations: 16 kB / 1.248 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.6686, allocations: 17 kB / 1.248 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.6694, allocations: 415.7 kB / 1.248 GB, free: 1.312 MB / 0.9981 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.7691/1.438, allocations: 1.732 MB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/1.439, allocations: 296.5 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/1.439, allocations: 181.9 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/1.44, allocations: 98 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/1.44, allocations: 46.91 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 3.767e-06/1.44, allocations: 0.75 kB / 1.251 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.00215/1.442, allocations: 1.065 MB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/1.442, allocations: 56.12 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005622/1.442, allocations: 454.8 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/1.442, allocations: 32.33 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/1.443, allocations: 255.7 kB / 1.252 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/1.443, allocations: 114.9 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/1.443, allocations: 74.7 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.443, allocations: 357.8 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/1.443, allocations: 127.5 kB / 1.253 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/1.443, allocations: 198.4 kB / 1.253 GB, free: 185.2 MB / 0.9981 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.001932/1.445, allocations: 0.8586 MB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.445, allocations: 8.406 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006527/1.446, allocations: 416.3 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.446, allocations: 4.531 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.446, allocations: 2.156 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.428e-05/1.446, allocations: 4.125 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/1.446, allocations: 74.23 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.446, allocations: 5.359 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/1.447, allocations: 13.62 kB / 1.255 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/1.447, allocations: 14.48 kB / 1.255 GB, free: 185 MB / 0.9981 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.0002766/1.447, allocations: 215.7 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.447, allocations: 50.33 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.447, allocations: 63.08 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.447, allocations: 7.969 kB / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.447, allocations: 0 / 1.255 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004707/1.448, allocations: 405.1 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/1.45, allocations: 1.251 MB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.45, allocations: 4.781 kB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/1.45, allocations: 67.84 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/1.45, allocations: 6.219 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/1.45, allocations: 20.89 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/1.45, allocations: 11.81 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.45, allocations: 3.688 kB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/1.451, allocations: 0.7065 MB / 1.257 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/1.451, allocations: 168.4 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/1.451, allocations: 11.56 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/1.451, allocations: 18.88 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/1.452, allocations: 39.78 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/1.452, allocations: 17.31 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003027/1.452, allocations: 331.3 kB / 1.258 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.452, allocations: 0 / 1.258 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005149/1.452, allocations: 140.4 kB / 1.258 GB, free: 183.7 MB / 0.9981 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.0003841/1.453, allocations: 181.5 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005046/1.453, allocations: 337.5 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.453, allocations: 0 / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/1.454, allocations: 167.1 kB / 1.259 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.455, allocations: 373.6 kB / 1.259 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/1.457, allocations: 1.138 MB / 1.26 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/1.457, allocations: 0.8816 MB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004498/1.457, allocations: 135.2 kB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/1.458, allocations: 44.19 kB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.458, allocations: 0 / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.0258/1.483, allocations: 11.05 MB / 1.272 GB, free: 181.1 MB / 0.9981 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