Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001446/0.001446, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.242/2.242, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8065, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir): time 0.2249/1.031, allocations: 188 MB / 1.272 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009695/1.041, allocations: 6.302 MB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/1.042, allocations: 35.81 kB / 1.278 GB, free: 11.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/1.044, allocations: 0.5127 MB / 1.279 GB, free: 10.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004874/1.049, allocations: 1.875 MB / 1.281 GB, free: 8.941 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/1.052, allocations: 0.9688 MB / 1.282 GB, free: 7.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003334/1.055, allocations: 2.429 MB / 1.284 GB, free: 5.547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/1.056, allocations: 0.7202 MB / 1.285 GB, free: 4.812 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/1.058, allocations: 0.9552 MB / 1.286 GB, free: 3.855 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/1.06, allocations: 0.7247 MB / 1.286 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002639/1.06, allocations: 80 kB / 1.286 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/1.064, allocations: 1.863 MB / 1.288 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005466/1.065, allocations: 339 kB / 1.289 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009357/1.066, allocations: 0.5095 MB / 1.289 GB, free: 352 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003346/1.069, allocations: 1.924 MB / 1.291 GB, free: 14.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.069, allocations: 0 / 1.291 GB, free: 14.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/1.069, allocations: 0 / 1.291 GB, free: 14.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.053e-05/1.069, allocations: 0 / 1.291 GB, free: 14.41 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002517/1.072, allocations: 1.296 MB / 1.292 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.072, allocations: 12.03 kB / 1.292 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/1.074, allocations: 298.6 kB / 1.293 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.075, allocations: 0.7527 MB / 1.293 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/1.075, allocations: 45.31 kB / 1.293 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/1.075, allocations: 67.89 kB / 1.293 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.076, allocations: 0.6234 MB / 1.294 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/1.076, allocations: 3.938 kB / 1.294 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/1.077, allocations: 28 kB / 1.294 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/1.077, allocations: 25.31 kB / 1.294 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/1.077, allocations: 0.5516 MB / 1.295 GB, free: 10.62 MB / 1.029 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.003611/1.081, allocations: 2.77 MB / 1.297 GB, free: 7.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/1.082, allocations: 471 kB / 1.298 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/1.082, allocations: 265.5 kB / 1.298 GB, free: 6.863 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/1.082, allocations: 101.5 kB / 1.298 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.082, allocations: 42.88 kB / 1.298 GB, free: 6.695 MB / 1.029 GB Notification: Performance of pre-optimization done (n=46): time 2.274e-06/1.082, allocations: 3.938 kB / 1.298 GB, free: 6.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.00294/1.085, allocations: 1.522 MB / 1.3 GB, free: 5.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/1.085, allocations: 63.83 kB / 1.3 GB, free: 5.035 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/1.086, allocations: 0.5508 MB / 1.3 GB, free: 4.473 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/1.086, allocations: 37.7 kB / 1.3 GB, free: 4.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/1.086, allocations: 356.4 kB / 1.301 GB, free: 4.078 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/1.087, allocations: 177.5 kB / 1.301 GB, free: 3.902 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/1.087, allocations: 94.16 kB / 1.301 GB, free: 3.801 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.087, allocations: 378.7 kB / 1.301 GB, free: 3.422 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/1.087, allocations: 199 kB / 1.301 GB, free: 3.227 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/1.088, allocations: 294.5 kB / 1.302 GB, free: 2.906 MB / 1.029 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 (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/1.091, allocations: 1.253 MB / 1.303 GB, free: 1.609 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.091, allocations: 0 / 1.303 GB, free: 1.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001036/1.092, allocations: 0.6055 MB / 1.303 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.092, allocations: 11.94 kB / 1.304 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.092, allocations: 7.938 kB / 1.304 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/1.092, allocations: 40.78 kB / 1.304 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/1.092, allocations: 111.8 kB / 1.304 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/1.094, allocations: 2.264 MB / 1.306 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/1.095, allocations: 15.98 kB / 1.306 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/1.095, allocations: 20 kB / 1.306 GB, free: 14.36 MB / 1.045 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005638/1.096, allocations: 393.1 kB / 1.306 GB, free: 13.98 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003652/1.096, allocations: 286.5 kB / 1.307 GB, free: 13.66 MB / 1.045 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 (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002674/1.099, allocations: 1.237 MB / 1.308 GB, free: 12.39 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/1.099, allocations: 0 / 1.308 GB, free: 12.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.000929/1.1, allocations: 0.6013 MB / 1.308 GB, free: 11.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.1, allocations: 11.98 kB / 1.308 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/1.1, allocations: 0 / 1.308 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/1.1, allocations: 41.06 kB / 1.308 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/1.1, allocations: 95.89 kB / 1.308 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/1.102, allocations: 1.681 MB / 1.31 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/1.102, allocations: 20.02 kB / 1.31 GB, free: 9.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/1.102, allocations: 20 kB / 1.31 GB, free: 9.762 MB / 1.045 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002116/1.103, allocations: 221 kB / 1.31 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/1.103, allocations: 71.16 kB / 1.31 GB, free: 9.469 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009948/1.104, allocations: 0.5702 MB / 1.311 GB, free: 8.887 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008268/1.105, allocations: 0.7958 MB / 1.312 GB, free: 8.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.105, allocations: 0 / 1.312 GB, free: 8.004 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/1.105, allocations: 196.2 kB / 1.312 GB, free: 7.793 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/1.105, allocations: 15.98 kB / 1.312 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/1.106, allocations: 25.25 kB / 1.312 GB, free: 7.754 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/1.106, allocations: 28.39 kB / 1.312 GB, free: 7.727 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001417/1.107, allocations: 0.708 MB / 1.313 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001128/1.108, allocations: 0.9505 MB / 1.314 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003087/1.108, allocations: 227.4 kB / 1.314 GB, free: 5.816 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00045/1.109, allocations: 399.1 kB / 1.314 GB, free: 5.434 MB / 1.045 GB Notification: Performance of Backend: time 3.8e-07/1.109, allocations: 0 / 1.314 GB, free: 5.434 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00308/1.112, allocations: 1.303 MB / 1.316 GB, free: 4.105 MB / 1.045 GB Notification: Performance of SimCode: time 0.003639/1.116, allocations: 2.263 MB / 1.318 GB, free: 1.801 MB / 1.045 GB Notification: Performance of Templates: time 0.03352/1.149, allocations: 20.65 MB / 1.338 GB, free: 13.36 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches