Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001624/0.001625, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001842/0.001842, allocations: 192.2 kB / 16.14 MB, free: 6.738 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.776/2.776, allocations: 437 MB / 0.71 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.91 kB / 0.8686 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8016/0.8036, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2588/1.063, allocations: 207.7 MB / 1.219 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01683/1.079, allocations: 9.958 MB / 1.229 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/1.082, allocations: 55.62 kB / 1.229 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/1.085, allocations: 0.6567 MB / 1.23 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008157/1.093, allocations: 2.651 MB / 1.232 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004585/1.098, allocations: 1.254 MB / 1.234 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008124/1.106, allocations: 5.636 MB / 1.239 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/1.108, allocations: 1.125 MB / 1.24 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/1.111, allocations: 1.147 MB / 1.241 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/1.115, allocations: 1.28 MB / 1.243 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004568/1.115, allocations: 72 kB / 1.243 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007322/1.123, allocations: 2.751 MB / 1.245 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/1.124, allocations: 0.5452 MB / 1.246 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002284/1.126, allocations: 0.7775 MB / 1.247 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006579/1.133, allocations: 3.085 MB / 1.25 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/1.133, allocations: 3.984 kB / 1.25 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/1.133, allocations: 0 / 1.25 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.465e-05/1.133, allocations: 0 / 1.25 GB, free: 3.273 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003716/1.137, allocations: 1.893 MB / 1.252 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.137, allocations: 8.031 kB / 1.252 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/1.14, allocations: 489.7 kB / 1.252 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.551/1.691, allocations: 1.059 MB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/1.691, allocations: 89.44 kB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/1.692, allocations: 108.7 kB / 1.253 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/1.694, allocations: 1.159 MB / 1.254 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/1.694, allocations: 6.781 kB / 1.254 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.694, allocations: 42.84 kB / 1.254 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.488e-05/1.694, allocations: 40.95 kB / 1.254 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/1.696, allocations: 1.077 MB / 1.256 GB, free: 234.8 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.006192/1.702, allocations: 4.203 MB / 1.26 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.703, allocations: 0.7875 MB / 1.26 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/1.704, allocations: 486.3 kB / 1.261 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003689/1.705, allocations: 295.5 kB / 1.261 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/1.705, allocations: 48.64 kB / 1.261 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.374e-06/1.705, allocations: 0.9688 kB / 1.261 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.005855/1.71, allocations: 2.842 MB / 1.264 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/1.711, allocations: 64.56 kB / 1.264 GB, free: 230 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/1.712, allocations: 0.9812 MB / 1.265 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.555e-05/1.712, allocations: 43.61 kB / 1.265 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/1.713, allocations: 0.5357 MB / 1.266 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/1.713, allocations: 316.1 kB / 1.266 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/1.713, allocations: 157.4 kB / 1.266 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/1.713, allocations: 341.7 kB / 1.266 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/1.714, allocations: 338.3 kB / 1.267 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/1.715, allocations: 485 kB / 1.267 GB, free: 228.1 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) 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.006054/1.721, allocations: 3.043 MB / 1.27 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.721, allocations: 2.844 kB / 1.27 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001677/1.722, allocations: 1.007 MB / 1.271 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.722, allocations: 8 kB / 1.271 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.722, allocations: 3.406 kB / 1.271 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/1.723, allocations: 10.64 kB / 1.271 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/1.723, allocations: 187.3 kB / 1.271 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/1.723, allocations: 7 kB / 1.271 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.725, allocations: 84.09 kB / 1.271 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/1.725, allocations: 28.97 kB / 1.271 GB, free: 226.4 MB / 0.9981 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.0006457/1.725, allocations: 385.1 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/1.726, allocations: 122.7 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/1.726, allocations: 150.6 kB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/1.726, allocations: 12.72 kB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/1.726, allocations: 1.609 kB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/1.728, allocations: 1.09 MB / 1.273 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/1.732, allocations: 3.051 MB / 1.276 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.732, allocations: 8.75 kB / 1.276 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/1.733, allocations: 167.2 kB / 1.276 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/1.734, allocations: 99.48 kB / 1.276 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/1.734, allocations: 31.77 kB / 1.276 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/1.736, allocations: 2.875 MB / 1.279 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.832e-05/1.736, allocations: 13.88 kB / 1.279 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/1.739, allocations: 1.74 MB / 1.281 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008758/1.74, allocations: 302.9 kB / 1.281 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/1.74, allocations: 40.47 kB / 1.281 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.741, allocations: 77.88 kB / 1.281 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.742, allocations: 92 kB / 1.281 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.757e-05/1.742, allocations: 46.05 kB / 1.281 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001014/1.743, allocations: 0.6938 MB / 1.282 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.743, allocations: 0 / 1.282 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001292/1.744, allocations: 377 kB / 1.282 GB, free: 219.3 MB / 0.9981 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.0005223/1.745, allocations: 244.3 kB / 1.283 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001266/1.746, allocations: 0.8256 MB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.746, allocations: 3 kB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008267/1.747, allocations: 0.6747 MB / 1.284 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/1.75, allocations: 0.887 MB / 1.285 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/1.754, allocations: 3.257 MB / 1.288 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/1.755, allocations: 1.24 MB / 1.289 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00136/1.756, allocations: 350.9 kB / 1.29 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/1.757, allocations: 99.44 kB / 1.29 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.757, allocations: 0 / 1.29 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03729/1.794, allocations: 27.16 MB / 1.316 GB, free: 187.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches