Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001679/0.00168, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001798/0.001798, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 469.8 MB / 0.743 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.44 kB / 0.9092 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.346, allocations: 159.1 MB / 1.065 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.7643/1.11, allocations: 181.9 MB / 1.242 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009274/1.12, allocations: 5.347 MB / 1.247 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/1.121, allocations: 43.75 kB / 1.248 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/1.122, allocations: 437.4 kB / 1.248 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004488/1.127, allocations: 1.672 MB / 1.25 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/1.129, allocations: 0.8052 MB / 1.25 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003546/1.133, allocations: 2.189 MB / 1.252 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/1.134, allocations: 0.6813 MB / 1.253 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/1.135, allocations: 0.7432 MB / 1.254 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/1.137, allocations: 0.6825 MB / 1.255 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/1.137, allocations: 76 kB / 1.255 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/1.14, allocations: 1.391 MB / 1.256 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003936/1.141, allocations: 323.2 kB / 1.256 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006237/1.141, allocations: 477.8 kB / 1.257 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002765/1.144, allocations: 1.644 MB / 1.258 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.144, allocations: 0 / 1.258 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/1.144, allocations: 4 kB / 1.258 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.049e-05/1.144, allocations: 0 / 1.258 GB, free: 2.469 MB / 0.9669 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.001983/1.146, allocations: 1.169 MB / 1.259 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.146, allocations: 16.55 kB / 1.259 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/1.148, allocations: 274.7 kB / 1.26 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/1.149, allocations: 0.671 MB / 1.26 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/1.149, allocations: 49.19 kB / 1.26 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/1.149, allocations: 63.91 kB / 1.261 GB, free: 144 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.15, allocations: 0.5844 MB / 1.261 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.15, allocations: 4 kB / 1.261 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/1.15, allocations: 24 kB / 1.261 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/1.15, allocations: 21.31 kB / 1.261 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009124/1.151, allocations: 0.5048 MB / 1.262 GB, free: 14.99 MB / 0.9825 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.003434/1.155, allocations: 2.388 MB / 1.264 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/1.156, allocations: 430.8 kB / 1.264 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/1.156, allocations: 225.3 kB / 1.265 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/1.156, allocations: 101.1 kB / 1.265 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.156, allocations: 50.52 kB / 1.265 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/1.156, allocations: 0 / 1.265 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.003075/1.159, allocations: 1.434 MB / 1.266 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.159, allocations: 59.78 kB / 1.266 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/1.16, allocations: 0.5421 MB / 1.267 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/1.16, allocations: 37.7 kB / 1.267 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/1.16, allocations: 328.6 kB / 1.267 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/1.161, allocations: 169.5 kB / 1.267 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/1.161, allocations: 86.25 kB / 1.267 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.161, allocations: 374.7 kB / 1.268 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/1.161, allocations: 181 kB / 1.268 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/1.162, allocations: 256.8 kB / 1.268 GB, free: 8.027 MB / 0.9825 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.003501/1.165, allocations: 1.448 MB / 1.27 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.165, allocations: 0 / 1.27 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009996/1.166, allocations: 0.5343 MB / 1.27 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.166, allocations: 10.03 kB / 1.27 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.166, allocations: 0 / 1.27 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.166, allocations: 4 kB / 1.27 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/1.167, allocations: 91.89 kB / 1.27 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.167, allocations: 7.938 kB / 1.27 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/1.167, allocations: 18.53 kB / 1.27 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/1.167, allocations: 20.16 kB / 1.27 GB, free: 5.844 MB / 0.9825 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.0003979/1.168, allocations: 254.3 kB / 1.27 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.168, allocations: 63.25 kB / 1.27 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/1.168, allocations: 86.44 kB / 1.271 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.168, allocations: 4 kB / 1.271 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.168, allocations: 0 / 1.271 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007752/1.169, allocations: 0.5144 MB / 1.271 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/1.171, allocations: 1.59 MB / 1.273 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.171, allocations: 4 kB / 1.273 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/1.172, allocations: 112 kB / 1.273 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/1.172, allocations: 11.98 kB / 1.273 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/1.172, allocations: 23.94 kB / 1.273 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.172, allocations: 11.94 kB / 1.273 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.172, allocations: 7.938 kB / 1.273 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/1.173, allocations: 0.902 MB / 1.274 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/1.174, allocations: 204.2 kB / 1.274 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-05/1.174, allocations: 12 kB / 1.274 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/1.174, allocations: 17.83 kB / 1.274 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/1.174, allocations: 47.83 kB / 1.274 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/1.175, allocations: 31.92 kB / 1.274 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005009/1.175, allocations: 398.8 kB / 1.274 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.175, allocations: 0 / 1.274 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006877/1.176, allocations: 196 kB / 1.275 GB, free: 1.129 MB / 0.9825 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.0004734/1.176, allocations: 191.7 kB / 1.275 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009451/1.177, allocations: 477.2 kB / 1.275 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.177, allocations: 0 / 1.275 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/1.178, allocations: 236.1 kB / 1.275 GB, free: 248 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/1.18, allocations: 487.6 kB / 1.276 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/1.183, allocations: 1.614 MB / 1.277 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/1.184, allocations: 0.9771 MB / 1.278 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/1.184, allocations: 55.44 kB / 1.278 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of SimCode: time 7.12e-07/1.184, allocations: 4 kB / 1.278 GB, free: 13 MB / 0.9981 GB Notification: Performance of Templates: time 0.02091/1.205, allocations: 11.61 MB / 1.29 GB, free: 1.496 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches