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.001262/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00131/0.001311, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 66.02 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.18/0.4949, allocations: 168.6 MB / 1.232 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005622/0.5006, allocations: 3.415 MB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.5013, allocations: 23.81 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008997/0.5023, allocations: 266.6 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.5046, allocations: 0.9649 MB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.5062, allocations: 0.603 MB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002254/0.5085, allocations: 2.106 MB / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007004/0.5092, allocations: 409 kB / 1.24 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.5103, allocations: 489.9 kB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.512, allocations: 485.2 kB / 1.241 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.5122, allocations: 28 kB / 1.241 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.5144, allocations: 0.9507 MB / 1.242 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.5147, allocations: 207.4 kB / 1.242 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.5152, allocations: 310.5 kB / 1.242 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.517, allocations: 1.165 MB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.517, allocations: 0 / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.517, allocations: 0 / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.803e-05/0.5171, allocations: 0 / 1.243 GB, free: 6.25 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.001774/0.5189, allocations: 0.9077 MB / 1.244 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5189, allocations: 15.97 kB / 1.244 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.5203, allocations: 179.1 kB / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/0.5211, allocations: 0.4974 MB / 1.245 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.5212, allocations: 37 kB / 1.245 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.5213, allocations: 40 kB / 1.245 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.5221, allocations: 474.4 kB / 1.245 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.5222, allocations: 0 / 1.245 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.5222, allocations: 16 kB / 1.245 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.5223, allocations: 21 kB / 1.245 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.523, allocations: 419.7 kB / 1.246 GB, free: 3.574 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.002731/0.5257, allocations: 1.732 MB / 1.247 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.5262, allocations: 298.5 kB / 1.248 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.5265, allocations: 178.7 kB / 1.248 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.5267, allocations: 101.1 kB / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.5267, allocations: 38.5 kB / 1.248 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.645e-06/0.5267, allocations: 0 / 1.248 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.7243/1.251, allocations: 1.059 MB / 1.249 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.251, allocations: 55.75 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.252, allocations: 452.8 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/1.253, allocations: 36.02 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/1.253, allocations: 256.2 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.253, allocations: 112.9 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/1.253, allocations: 75.58 kB / 1.25 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.253, allocations: 355.7 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/1.254, allocations: 130 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/1.254, allocations: 201 kB / 1.251 GB, free: 186 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.002915/1.257, allocations: 0.8628 MB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.257, allocations: 0 / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001024/1.258, allocations: 418.8 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/1.258, allocations: 5.797 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.258, allocations: 6.156 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/1.258, allocations: 3.719 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/1.259, allocations: 69.47 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/1.259, allocations: 7.562 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/1.259, allocations: 23.39 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/1.26, allocations: 17.67 kB / 1.252 GB, free: 185.8 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.000448/1.26, allocations: 210.6 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.26, allocations: 53.59 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/1.26, allocations: 58.89 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/1.26, allocations: 4.172 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.26, allocations: 4.562 kB / 1.252 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006962/1.261, allocations: 416.5 kB / 1.253 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/1.264, allocations: 1.238 MB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.264, allocations: 4.781 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/1.265, allocations: 74.06 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.331e-05/1.265, allocations: 9.781 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/1.265, allocations: 10.97 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.138e-05/1.265, allocations: 12.28 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.265, allocations: 3.469 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/1.267, allocations: 0.6966 MB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/1.267, allocations: 172.8 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/1.267, allocations: 12.27 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/1.268, allocations: 33.5 kB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.268, allocations: 35.09 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/1.268, allocations: 22.62 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006536/1.269, allocations: 330.2 kB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.269, allocations: 0 / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001009/1.27, allocations: 143.1 kB / 1.255 GB, free: 184.5 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.000597/1.271, allocations: 176.7 kB / 1.256 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008846/1.272, allocations: 322.6 kB / 1.256 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.272, allocations: 1.375 kB / 1.256 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/1.272, allocations: 170.9 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.274, allocations: 348.9 kB / 1.256 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/1.277, allocations: 1.295 MB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/1.277, allocations: 0.8846 MB / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005946/1.278, allocations: 132.8 kB / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/1.278, allocations: 49.16 kB / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.278, allocations: 0 / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02885/1.307, allocations: 10.59 MB / 1.269 GB, free: 182.3 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