Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_latest_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_latest_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.001177/0.001177, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001185/0.001185, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.89 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9033/0.9054, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2448/1.15, allocations: 209.9 MB / 1.413 GB, free: 10.91 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01663/1.167, allocations: 9.883 MB / 1.423 GB, free: 1.012 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/1.169, allocations: 59.69 kB / 1.423 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002665/1.172, allocations: 0.7648 MB / 1.424 GB, free: 188 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008346/1.181, allocations: 2.808 MB / 1.427 GB, free: 13.36 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00404/1.185, allocations: 1.382 MB / 1.428 GB, free: 11.99 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006272/1.191, allocations: 4.053 MB / 1.432 GB, free: 7.922 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/1.193, allocations: 1.329 MB / 1.433 GB, free: 6.562 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/1.197, allocations: 1.397 MB / 1.435 GB, free: 5.16 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/1.2, allocations: 1.232 MB / 1.436 GB, free: 3.934 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005468/1.2, allocations: 144 kB / 1.436 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005386/1.206, allocations: 2.381 MB / 1.438 GB, free: 1.406 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/1.207, allocations: 0.6078 MB / 1.439 GB, free: 0.7969 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002117/1.209, allocations: 0.8557 MB / 1.44 GB, free: 15.93 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006137/1.215, allocations: 3.007 MB / 1.443 GB, free: 12.92 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.215, allocations: 0 / 1.443 GB, free: 12.92 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.194e-06/1.215, allocations: 0 / 1.443 GB, free: 12.92 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.755e-05/1.215, allocations: 0 / 1.443 GB, free: 12.92 MB / 1.17 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.004387/1.22, allocations: 1.889 MB / 1.444 GB, free: 10.98 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.22, allocations: 12.03 kB / 1.444 GB, free: 10.96 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/1.223, allocations: 497.6 kB / 1.445 GB, free: 10.48 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/1.226, allocations: 1.124 MB / 1.446 GB, free: 9.305 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/1.226, allocations: 82.14 kB / 1.446 GB, free: 9.223 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/1.226, allocations: 116 kB / 1.446 GB, free: 9.109 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/1.228, allocations: 1.149 MB / 1.447 GB, free: 7.93 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/1.228, allocations: 3.938 kB / 1.447 GB, free: 7.926 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/1.229, allocations: 52 kB / 1.447 GB, free: 7.875 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/1.229, allocations: 42.12 kB / 1.447 GB, free: 7.832 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/1.231, allocations: 1.078 MB / 1.448 GB, free: 6.746 MB / 1.17 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.006594/1.237, allocations: 4.184 MB / 1.453 GB, free: 2.281 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/1.238, allocations: 0.794 MB / 1.453 GB, free: 1.484 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/1.239, allocations: 483 kB / 1.454 GB, free: 1.016 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/1.24, allocations: 296.2 kB / 1.454 GB, free: 0.668 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/1.24, allocations: 51.56 kB / 1.454 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 3.136e-06/1.24, allocations: 0 / 1.454 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of matching and sorting (n=89): time 0.005865/1.245, allocations: 2.836 MB / 1.457 GB, free: 13.68 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/1.246, allocations: 64.34 kB / 1.457 GB, free: 13.61 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/1.247, allocations: 0.9793 MB / 1.458 GB, free: 12.61 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.695e-05/1.247, allocations: 49.7 kB / 1.458 GB, free: 12.55 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/1.247, allocations: 0.5357 MB / 1.458 GB, free: 12.01 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/1.248, allocations: 323.3 kB / 1.459 GB, free: 11.69 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/1.248, allocations: 154.6 kB / 1.459 GB, free: 11.54 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.248, allocations: 337.9 kB / 1.459 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/1.249, allocations: 341.8 kB / 1.46 GB, free: 10.86 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/1.249, allocations: 485.9 kB / 1.46 GB, free: 10.35 MB / 1.186 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.006105/1.256, allocations: 3.036 MB / 1.463 GB, free: 7.227 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.256, allocations: 0 / 1.463 GB, free: 7.227 MB / 1.186 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001655/1.257, allocations: 1.012 MB / 1.464 GB, free: 6.207 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.257, allocations: 8 kB / 1.464 GB, free: 6.199 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.257, allocations: 0 / 1.464 GB, free: 6.199 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/1.257, allocations: 12.03 kB / 1.464 GB, free: 6.188 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/1.258, allocations: 183.7 kB / 1.464 GB, free: 6.008 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/1.258, allocations: 11.94 kB / 1.464 GB, free: 5.996 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/1.259, allocations: 20 kB / 1.464 GB, free: 5.977 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/1.259, allocations: 39.98 kB / 1.464 GB, free: 5.938 MB / 1.186 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.0006433/1.26, allocations: 391.5 kB / 1.465 GB, free: 5.547 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/1.26, allocations: 130.4 kB / 1.465 GB, free: 5.418 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/1.261, allocations: 144.3 kB / 1.465 GB, free: 5.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.261, allocations: 8 kB / 1.465 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.261, allocations: 0 / 1.465 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001577/1.262, allocations: 1.094 MB / 1.466 GB, free: 4.094 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/1.267, allocations: 3.047 MB / 1.469 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.267, allocations: 16.05 kB / 1.469 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/1.268, allocations: 159.8 kB / 1.469 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003567/1.268, allocations: 101.6 kB / 1.469 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/1.269, allocations: 32 kB / 1.469 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/1.271, allocations: 3.082 MB / 1.472 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/1.271, allocations: 11.94 kB / 1.472 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/1.274, allocations: 1.737 MB / 1.474 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006674/1.274, allocations: 307.5 kB / 1.474 GB, free: 10.99 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/1.275, allocations: 36.05 kB / 1.474 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.276, allocations: 42.42 kB / 1.474 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.276, allocations: 92.03 kB / 1.474 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.276, allocations: 51.98 kB / 1.474 GB, free: 10.77 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001091/1.277, allocations: 0.6956 MB / 1.475 GB, free: 10.07 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.11e-07/1.277, allocations: 0 / 1.475 GB, free: 10.07 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001327/1.279, allocations: 372 kB / 1.476 GB, free: 9.707 MB / 1.201 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.0006035/1.279, allocations: 241.6 kB / 1.476 GB, free: 9.473 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.281, allocations: 0.8395 MB / 1.477 GB, free: 8.633 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.281, allocations: 4 kB / 1.477 GB, free: 8.629 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.282, allocations: 0.6774 MB / 1.477 GB, free: 7.93 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/1.287, allocations: 0.9217 MB / 1.478 GB, free: 7.031 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/1.291, allocations: 2.833 MB / 1.481 GB, free: 4.043 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.293, allocations: 1.245 MB / 1.482 GB, free: 2.77 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/1.293, allocations: 107.4 kB / 1.482 GB, free: 2.664 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/1.293, allocations: 0 / 1.482 GB, free: 2.664 MB / 1.201 GB Notification: Performance of Templates: time 0.0406/1.334, allocations: 27.23 MB / 1.509 GB, free: 7.562 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches