Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005075/0.005075, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001092/0.001092, allocations: 198.8 kB / 16.68 MB, free: 5.93 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.274/2.274, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 63.91 kB / 0.9508 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9927/0.9943, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2292/1.224, allocations: 181.9 MB / 1.266 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01198/1.236, allocations: 5.361 MB / 1.271 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/1.237, allocations: 35.81 kB / 1.271 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/1.239, allocations: 453.4 kB / 1.271 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005193/1.244, allocations: 1.735 MB / 1.273 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/1.247, allocations: 0.8072 MB / 1.274 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003366/1.25, allocations: 2.199 MB / 1.276 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/1.251, allocations: 0.6852 MB / 1.277 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/1.253, allocations: 0.784 MB / 1.277 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/1.256, allocations: 0.6869 MB / 1.278 GB, free: 11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/1.256, allocations: 76 kB / 1.278 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/1.259, allocations: 1.399 MB / 1.279 GB, free: 9.527 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000515/1.26, allocations: 319.2 kB / 1.28 GB, free: 9.215 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009868/1.261, allocations: 473.9 kB / 1.28 GB, free: 8.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00364/1.264, allocations: 1.659 MB / 1.282 GB, free: 7.086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.264, allocations: 0 / 1.282 GB, free: 7.086 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/1.264, allocations: 0 / 1.282 GB, free: 7.086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.547e-05/1.264, allocations: 0 / 1.282 GB, free: 7.086 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002794/1.267, allocations: 1.191 MB / 1.283 GB, free: 5.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001338/1.267, allocations: 15.97 kB / 1.283 GB, free: 5.824 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/1.27, allocations: 266.7 kB / 1.283 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.271, allocations: 0.71 MB / 1.284 GB, free: 4.812 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/1.271, allocations: 41.31 kB / 1.284 GB, free: 4.773 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/1.271, allocations: 63.91 kB / 1.284 GB, free: 4.711 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/1.272, allocations: 0.5804 MB / 1.285 GB, free: 4.121 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/1.273, allocations: 4 kB / 1.285 GB, free: 4.117 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/1.273, allocations: 28 kB / 1.285 GB, free: 4.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/1.273, allocations: 29.23 kB / 1.285 GB, free: 4.062 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/1.274, allocations: 0.497 MB / 1.285 GB, free: 3.566 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.003831/1.277, allocations: 2.376 MB / 1.287 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008715/1.278, allocations: 430.7 kB / 1.288 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/1.279, allocations: 216.8 kB / 1.288 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/1.279, allocations: 101.1 kB / 1.288 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.279, allocations: 46.48 kB / 1.288 GB, free: 188 kB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/1.279, allocations: 0 / 1.288 GB, free: 188 kB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.003281/1.282, allocations: 1.433 MB / 1.29 GB, free: 14.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/1.282, allocations: 55.84 kB / 1.29 GB, free: 14.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/1.283, allocations: 0.5383 MB / 1.29 GB, free: 14.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/1.283, allocations: 33.7 kB / 1.29 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/1.283, allocations: 332.5 kB / 1.291 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.284, allocations: 169.5 kB / 1.291 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/1.284, allocations: 94.25 kB / 1.291 GB, free: 13.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.284, allocations: 374.7 kB / 1.291 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/1.284, allocations: 177 kB / 1.291 GB, free: 12.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/1.285, allocations: 256.8 kB / 1.292 GB, free: 12.62 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: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/1.288, allocations: 1.446 MB / 1.293 GB, free: 11.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.288, allocations: 0 / 1.293 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009584/1.289, allocations: 0.5226 MB / 1.293 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.289, allocations: 8 kB / 1.293 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.289, allocations: 3.984 kB / 1.293 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/1.289, allocations: 7.938 kB / 1.293 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/1.29, allocations: 92.06 kB / 1.294 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.29, allocations: 8 kB / 1.294 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006417/1.29, allocations: 21.77 kB / 1.294 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/1.291, allocations: 19.94 kB / 1.294 GB, free: 10.44 MB / 1.029 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003899/1.291, allocations: 257.6 kB / 1.294 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/1.291, allocations: 67.19 kB / 1.294 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/1.291, allocations: 78.45 kB / 1.294 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.291, allocations: 4 kB / 1.294 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.291, allocations: 0 / 1.294 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007485/1.292, allocations: 0.5145 MB / 1.295 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/1.295, allocations: 1.597 MB / 1.296 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.295, allocations: 4 kB / 1.296 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/1.295, allocations: 115.8 kB / 1.296 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.295, allocations: 8 kB / 1.296 GB, free: 7.645 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/1.295, allocations: 12 kB / 1.296 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-05/1.295, allocations: 15.92 kB / 1.296 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.295, allocations: 7.938 kB / 1.296 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/1.297, allocations: 0.8987 MB / 1.297 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/1.297, allocations: 200.2 kB / 1.297 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/1.298, allocations: 19.98 kB / 1.297 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/1.298, allocations: 12 kB / 1.297 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.298, allocations: 55.77 kB / 1.297 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/1.298, allocations: 20 kB / 1.297 GB, free: 6.312 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005815/1.299, allocations: 398.8 kB / 1.298 GB, free: 5.926 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.3e-07/1.299, allocations: 0 / 1.298 GB, free: 5.926 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001048/1.3, allocations: 196 kB / 1.298 GB, free: 5.734 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.0006036/1.301, allocations: 202.5 kB / 1.298 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009012/1.302, allocations: 441.5 kB / 1.299 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.302, allocations: 0 / 1.299 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004114/1.302, allocations: 235.6 kB / 1.299 GB, free: 4.879 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/1.304, allocations: 496 kB / 1.299 GB, free: 4.406 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/1.308, allocations: 1.547 MB / 1.301 GB, free: 2.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.309, allocations: 0.977 MB / 1.302 GB, free: 1.766 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008873/1.31, allocations: 165.8 kB / 1.302 GB, free: 1.602 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.31, allocations: 63.42 kB / 1.302 GB, free: 1.539 MB / 1.029 GB Notification: Performance of SimCode: time 1.463e-06/1.31, allocations: 0 / 1.302 GB, free: 1.539 MB / 1.029 GB Notification: Performance of Templates: time 0.02896/1.339, allocations: 14.92 MB / 1.317 GB, free: 2.852 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches