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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001106/0.001106, allocations: 105.7 kB / 16.37 MB, free: 6.465 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.001075/0.001076, allocations: 190 kB / 17.31 MB, free: 5.812 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.473/2.473, allocations: 442.6 MB / 0.7165 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 78.73 kB / 0.8773 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2631, allocations: 153 MB / 1.027 GB, free: 2.129 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6345/0.8976, allocations: 170.8 MB / 1.194 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005602/0.9033, allocations: 3.377 MB / 1.197 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.9043, allocations: 21.62 kB / 1.197 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.9054, allocations: 312.3 kB / 1.197 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.9081, allocations: 1.018 MB / 1.198 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.9097, allocations: 0.6635 MB / 1.199 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001945/0.9117, allocations: 1.53 MB / 1.2 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006872/0.9124, allocations: 482.6 kB / 1.201 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009435/0.9133, allocations: 0.5681 MB / 1.201 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.9145, allocations: 455.1 kB / 1.202 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.9146, allocations: 55.22 kB / 1.202 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.916, allocations: 0.8342 MB / 1.203 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.9163, allocations: 239.1 kB / 1.203 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004306/0.9167, allocations: 336.4 kB / 1.203 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.9184, allocations: 1.135 MB / 1.204 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9184, allocations: 0 / 1.204 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9184, allocations: 0 / 1.204 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.9184, allocations: 2.562 kB / 1.204 GB, free: 3.5 MB / 0.9044 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.001336/0.9197, allocations: 0.9162 MB / 1.205 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.9198, allocations: 10.97 kB / 1.205 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.921, allocations: 164.7 kB / 1.205 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.9218, allocations: 0.5282 MB / 1.206 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.9219, allocations: 39.06 kB / 1.206 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.9219, allocations: 48.66 kB / 1.206 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.9226, allocations: 468.8 kB / 1.206 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.9227, allocations: 0 / 1.206 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.9227, allocations: 24.97 kB / 1.206 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.9228, allocations: 15.47 kB / 1.206 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.9234, allocations: 411.4 kB / 1.207 GB, free: 1.715 MB / 0.9044 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.002416/0.9258, allocations: 1.728 MB / 1.208 GB, free: 276 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.9263, allocations: 289.4 kB / 1.209 GB, free: 116 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.9265, allocations: 182.3 kB / 1.209 GB, free: 24 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.9267, allocations: 101.8 kB / 1.209 GB, free: 15.92 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.9267, allocations: 43.16 kB / 1.209 GB, free: 15.87 MB / 0.92 GB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.9267, allocations: 0 / 1.209 GB, free: 15.87 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.00185/0.9286, allocations: 1.051 MB / 1.21 GB, free: 15.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.9286, allocations: 60.12 kB / 1.21 GB, free: 15.12 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.9291, allocations: 460.4 kB / 1.211 GB, free: 14.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.9291, allocations: 32.7 kB / 1.211 GB, free: 14.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.9293, allocations: 251.8 kB / 1.211 GB, free: 14.58 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.9294, allocations: 114.6 kB / 1.211 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.9295, allocations: 71.84 kB / 1.211 GB, free: 14.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9297, allocations: 349 kB / 1.211 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.9298, allocations: 133 kB / 1.211 GB, free: 14.02 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.9301, allocations: 199.8 kB / 1.212 GB, free: 13.88 MB / 0.92 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.00188/0.932, allocations: 0.8599 MB / 1.213 GB, free: 13.36 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.932, allocations: 0 / 1.213 GB, free: 13.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006049/0.9326, allocations: 416.8 kB / 1.213 GB, free: 13.14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.9326, allocations: 8.688 kB / 1.213 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.9326, allocations: 3.656 kB / 1.213 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9327, allocations: 2.812 kB / 1.213 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.933, allocations: 78.81 kB / 1.213 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.933, allocations: 5.75 kB / 1.213 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.9334, allocations: 21.7 kB / 1.213 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.9335, allocations: 9.75 kB / 1.213 GB, free: 13.11 MB / 0.92 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.000254/0.9337, allocations: 217.7 kB / 1.213 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.9338, allocations: 52.62 kB / 1.213 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.9339, allocations: 64.5 kB / 1.213 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.934, allocations: 2.094 kB / 1.213 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.934, allocations: 4 kB / 1.213 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004755/0.9345, allocations: 401.8 kB / 1.214 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.9362, allocations: 1.247 MB / 1.215 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.9362, allocations: 10.12 kB / 1.215 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.9366, allocations: 77.56 kB / 1.215 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.9366, allocations: 4.906 kB / 1.215 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.9367, allocations: 9.188 kB / 1.215 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.9367, allocations: 14.88 kB / 1.215 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9367, allocations: 3.219 kB / 1.215 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.9375, allocations: 0.7037 MB / 1.216 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.9377, allocations: 172.9 kB / 1.216 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.9378, allocations: 11.28 kB / 1.216 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.9382, allocations: 15.8 kB / 1.216 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.9383, allocations: 39.03 kB / 1.216 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.9384, allocations: 23.17 kB / 1.216 GB, free: 10.84 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003381/0.9387, allocations: 328.5 kB / 1.216 GB, free: 10.65 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9387, allocations: 0 / 1.216 GB, free: 10.65 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005493/0.9393, allocations: 140.4 kB / 1.216 GB, free: 10.64 MB / 0.92 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.0004064/0.9397, allocations: 181.1 kB / 1.217 GB, free: 10.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.9403, allocations: 326.1 kB / 1.217 GB, free: 10.3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9403, allocations: 0 / 1.217 GB, free: 10.3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.9405, allocations: 164.6 kB / 1.217 GB, free: 10.14 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.9421, allocations: 369.8 kB / 1.217 GB, free: 9.785 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.9438, allocations: 1.123 MB / 1.219 GB, free: 8.586 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.9443, allocations: 0.8862 MB / 1.219 GB, free: 7.672 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004532/0.9448, allocations: 128.6 kB / 1.22 GB, free: 7.543 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.9449, allocations: 43.44 kB / 1.22 GB, free: 7.5 MB / 0.92 GB Notification: Performance of SimCode: time 5.11e-07/0.9449, allocations: 0 / 1.22 GB, free: 7.5 MB / 0.92 GB Notification: Performance of Templates: time 0.01766/0.9626, allocations: 11.04 MB / 1.23 GB, free: 12.62 MB / 0.9356 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches