Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_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_latest_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.001025/0.001026, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 187 kB / 16.92 MB, free: 6.75 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 9.531 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3335, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir): time 0.1962/0.5297, allocations: 183.3 MB / 1.238 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009945/0.5397, allocations: 6.313 MB / 1.244 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.5412, allocations: 35.75 kB / 1.244 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.5427, allocations: 445.8 kB / 1.245 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004662/0.5473, allocations: 1.696 MB / 1.247 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.5498, allocations: 0.8615 MB / 1.247 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004124/0.5539, allocations: 3.319 MB / 1.251 GB, free: 384 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6655/1.219, allocations: 0.5891 MB / 1.251 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/1.222, allocations: 0.7665 MB / 1.252 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/1.224, allocations: 0.711 MB / 1.253 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/1.225, allocations: 31.66 kB / 1.253 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004659/1.229, allocations: 2.099 MB / 1.255 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006242/1.23, allocations: 293.4 kB / 1.255 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008361/1.231, allocations: 476 kB / 1.255 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002505/1.233, allocations: 1.406 MB / 1.257 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.233, allocations: 0.5938 kB / 1.257 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.565e-06/1.233, allocations: 1.547 kB / 1.257 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.105e-05/1.233, allocations: 0 / 1.257 GB, free: 4.484 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002376/1.236, allocations: 1.116 MB / 1.258 GB, free: 19.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.236, allocations: 9.156 kB / 1.258 GB, free: 19.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/1.238, allocations: 305 kB / 1.258 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/1.239, allocations: 0.7191 MB / 1.259 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/1.239, allocations: 45.69 kB / 1.259 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-05/1.239, allocations: 59.06 kB / 1.259 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/1.24, allocations: 0.6271 MB / 1.26 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/1.24, allocations: 1.875 kB / 1.26 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/1.241, allocations: 23.16 kB / 1.26 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/1.241, allocations: 26.55 kB / 1.26 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/1.241, allocations: 0.5521 MB / 1.26 GB, free: 19.41 MB / 1.014 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.003716/1.245, allocations: 2.777 MB / 1.263 GB, free: 17.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/1.246, allocations: 469.5 kB / 1.263 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/1.246, allocations: 269.3 kB / 1.264 GB, free: 17.94 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/1.247, allocations: 101.5 kB / 1.264 GB, free: 17.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.247, allocations: 41.19 kB / 1.264 GB, free: 17.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=46): time 2.525e-06/1.247, allocations: 0 / 1.264 GB, free: 17.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.002849/1.249, allocations: 1.539 MB / 1.265 GB, free: 17.37 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.249, allocations: 56.91 kB / 1.265 GB, free: 17.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/1.25, allocations: 0.5554 MB / 1.266 GB, free: 17.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/1.25, allocations: 36.23 kB / 1.266 GB, free: 17.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/1.25, allocations: 359.5 kB / 1.266 GB, free: 16.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/1.251, allocations: 180.3 kB / 1.266 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/1.251, allocations: 49.28 kB / 1.267 GB, free: 16.85 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.251, allocations: 370.7 kB / 1.267 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/1.251, allocations: 187.7 kB / 1.267 GB, free: 16.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/1.252, allocations: 285.1 kB / 1.267 GB, free: 16.45 MB / 1.014 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.003242/1.255, allocations: 1.261 MB / 1.269 GB, free: 16.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.255, allocations: 0.8438 kB / 1.269 GB, free: 16.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001238/1.256, allocations: 0.5976 MB / 1.269 GB, free: 16.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.019e-05/1.256, allocations: 148.7 kB / 1.269 GB, free: 16.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.256, allocations: 6.812 kB / 1.269 GB, free: 16.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/1.256, allocations: 38.34 kB / 1.269 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/1.257, allocations: 116.7 kB / 1.269 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/1.259, allocations: 2.095 MB / 1.271 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/1.26, allocations: 59.09 kB / 1.272 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/1.26, allocations: 20.91 kB / 1.272 GB, free: 14.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/1.26, allocations: 10.47 kB / 1.272 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009513/1.261, allocations: 0.5155 MB / 1.272 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.261, allocations: 1.344 kB / 1.272 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/1.261, allocations: 40.14 kB / 1.272 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/1.261, allocations: 103.8 kB / 1.272 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/1.263, allocations: 1.5 MB / 1.274 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/1.264, allocations: 64.05 kB / 1.274 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/1.264, allocations: 19.7 kB / 1.274 GB, free: 12.7 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0005853/1.264, allocations: 332.6 kB / 1.274 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/1.264, allocations: 71.16 kB / 1.274 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/1.266, allocations: 0.5751 MB / 1.275 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.266, allocations: 10.77 kB / 1.275 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.266, allocations: 1.281 kB / 1.275 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/1.267, allocations: 0.7909 MB / 1.275 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/1.27, allocations: 1.579 MB / 1.277 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.27, allocations: 2.344 kB / 1.277 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/1.271, allocations: 128.5 kB / 1.277 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001475/1.271, allocations: 30.14 kB / 1.277 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/1.271, allocations: 14.92 kB / 1.277 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/1.273, allocations: 1.96 MB / 1.279 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.273, allocations: 3.938 kB / 1.279 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/1.274, allocations: 0.9053 MB / 1.28 GB, free: 9.441 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004222/1.275, allocations: 199.8 kB / 1.28 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/1.275, allocations: 12.44 kB / 1.28 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007176/1.275, allocations: 43.94 kB / 1.28 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/1.276, allocations: 32.48 kB / 1.28 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/1.276, allocations: 17.89 kB / 1.28 GB, free: 9.309 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006123/1.276, allocations: 400 kB / 1.281 GB, free: 9.215 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.276, allocations: 0 / 1.281 GB, free: 9.215 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001527/1.278, allocations: 381.9 kB / 1.281 GB, free: 9.207 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (47): * Single equations (assignments): 45 * 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,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.0006237/1.278, allocations: 201.8 kB / 1.281 GB, free: 9.105 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002059/1.28, allocations: 1.013 MB / 1.282 GB, free: 8.871 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.28, allocations: 4.062 kB / 1.282 GB, free: 8.867 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/1.281, allocations: 373.6 kB / 1.283 GB, free: 8.758 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.284, allocations: 472.4 kB / 1.283 GB, free: 8.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/1.287, allocations: 2.065 MB / 1.285 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008723/1.288, allocations: 1.009 MB / 1.286 GB, free: 6.898 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/1.288, allocations: 58.66 kB / 1.286 GB, free: 6.891 MB / 1.014 GB Notification: Performance of SimCode: time 1.924e-06/1.288, allocations: 1.156 kB / 1.286 GB, free: 6.891 MB / 1.014 GB Notification: Performance of Templates: time 0.03218/1.32, allocations: 18.67 MB / 1.304 GB, free: 5.43 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches