Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001556/0.001556, allocations: 195.5 kB / 16.26 MB, free: 6.621 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.733/0.7344, allocations: 140.3 MB / 0.9491 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2509/0.9853, allocations: 207.2 MB / 1.151 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0195/1.005, allocations: 9.801 MB / 1.161 GB, free: 8.277 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003384/1.008, allocations: 51.62 kB / 1.161 GB, free: 8.227 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003397/1.012, allocations: 0.6839 MB / 1.162 GB, free: 7.539 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009041/1.021, allocations: 2.638 MB / 1.164 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004177/1.025, allocations: 1.271 MB / 1.166 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006169/1.031, allocations: 4.071 MB / 1.17 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/1.034, allocations: 1.293 MB / 1.171 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/1.037, allocations: 1.374 MB / 1.172 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/1.041, allocations: 1.314 MB / 1.173 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005621/1.041, allocations: 144 kB / 1.174 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005783/1.047, allocations: 2.505 MB / 1.176 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/1.048, allocations: 0.6116 MB / 1.177 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/1.05, allocations: 0.8556 MB / 1.177 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005991/1.056, allocations: 3.147 MB / 1.181 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.056, allocations: 0 / 1.181 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/1.056, allocations: 3.938 kB / 1.181 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.459e-05/1.056, allocations: 0 / 1.181 GB, free: 4.238 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.0044/1.061, allocations: 1.9 MB / 1.182 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/1.061, allocations: 11.97 kB / 1.182 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003732/1.064, allocations: 481.7 kB / 1.183 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/1.067, allocations: 1.057 MB / 1.184 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/1.067, allocations: 86.12 kB / 1.184 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003534/1.068, allocations: 115.9 kB / 1.184 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/1.071, allocations: 1.149 MB / 1.185 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/1.071, allocations: 7.922 kB / 1.185 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/1.071, allocations: 48 kB / 1.185 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/1.071, allocations: 38.14 kB / 1.185 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/1.073, allocations: 1.082 MB / 1.186 GB, free: 14.12 MB / 0.9512 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.007759/1.081, allocations: 4.207 MB / 1.19 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/1.082, allocations: 0.7902 MB / 1.191 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/1.083, allocations: 482.2 kB / 1.192 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/1.083, allocations: 292.3 kB / 1.192 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/1.083, allocations: 47.56 kB / 1.192 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.955e-06/1.083, allocations: 0 / 1.192 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.006458/1.09, allocations: 2.852 MB / 1.195 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.09, allocations: 68.41 kB / 1.195 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/1.091, allocations: 0.9677 MB / 1.196 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/1.091, allocations: 45.7 kB / 1.196 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/1.092, allocations: 0.5434 MB / 1.196 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/1.092, allocations: 311.4 kB / 1.197 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/1.093, allocations: 158.6 kB / 1.197 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.093, allocations: 341.9 kB / 1.197 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/1.093, allocations: 341.8 kB / 1.197 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/1.094, allocations: 485.9 kB / 1.198 GB, free: 1.715 MB / 0.9512 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006309/1.1, allocations: 3.041 MB / 1.201 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.1, allocations: 0 / 1.201 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001761/1.102, allocations: 1.011 MB / 1.202 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/1.102, allocations: 4 kB / 1.202 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.102, allocations: 4.375 kB / 1.202 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.102, allocations: 12 kB / 1.202 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/1.103, allocations: 179.7 kB / 1.202 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/1.103, allocations: 11.94 kB / 1.202 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.104, allocations: 75.7 kB / 1.202 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/1.104, allocations: 32 kB / 1.202 GB, free: 13.25 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.000692/1.105, allocations: 385.5 kB / 1.203 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/1.105, allocations: 134.4 kB / 1.203 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/1.106, allocations: 148.3 kB / 1.203 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.106, allocations: 8 kB / 1.203 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/1.106, allocations: 0 / 1.203 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001607/1.107, allocations: 1.098 MB / 1.204 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005297/1.113, allocations: 3.036 MB / 1.207 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/1.113, allocations: 16.03 kB / 1.207 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007697/1.114, allocations: 159.7 kB / 1.207 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003726/1.114, allocations: 105.6 kB / 1.207 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/1.114, allocations: 31.98 kB / 1.207 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/1.117, allocations: 3.09 MB / 1.21 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/1.117, allocations: 11.94 kB / 1.21 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/1.119, allocations: 1.741 MB / 1.212 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000813/1.12, allocations: 307.5 kB / 1.212 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/1.121, allocations: 35.92 kB / 1.212 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.122, allocations: 78.06 kB / 1.212 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.122, allocations: 88.11 kB / 1.212 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/1.122, allocations: 43.98 kB / 1.212 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001174/1.123, allocations: 0.6956 MB / 1.213 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.61e-07/1.123, allocations: 0 / 1.213 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001554/1.125, allocations: 380 kB / 1.213 GB, free: 0.9883 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006552/1.126, allocations: 244.6 kB / 1.214 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001824/1.128, allocations: 0.9566 MB / 1.215 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.128, allocations: 4 kB / 1.215 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.129, allocations: 0.6725 MB / 1.215 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/1.133, allocations: 0.9297 MB / 1.216 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005159/1.138, allocations: 3.256 MB / 1.219 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.139, allocations: 1.249 MB / 1.221 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001617/1.141, allocations: 343 kB / 1.221 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/1.142, allocations: 99.42 kB / 1.221 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of SimCode: time 1.292e-06/1.142, allocations: 0 / 1.221 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of Templates: time 0.5101/1.652, allocations: 28.23 MB / 1.249 GB, free: 282.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches