Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 210.4 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.317/3.317, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 65.48 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4333, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2315/0.6649, allocations: 160.7 MB / 1.521 GB, free: 12.3 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009954/0.6748, allocations: 5.078 MB / 1.526 GB, free: 7.211 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.6761, allocations: 47.62 kB / 1.526 GB, free: 7.164 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.6774, allocations: 421.4 kB / 1.526 GB, free: 6.75 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004766/0.6822, allocations: 1.743 MB / 1.528 GB, free: 5 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.6844, allocations: 0.8303 MB / 1.529 GB, free: 4.176 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00341/0.6878, allocations: 2.254 MB / 1.531 GB, free: 1.918 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009112/0.6888, allocations: 0.5373 MB / 1.531 GB, free: 1.367 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.6908, allocations: 0.9888 MB / 1.532 GB, free: 384 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.6927, allocations: 0.7074 MB / 1.533 GB, free: 15.68 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.6928, allocations: 80 kB / 1.533 GB, free: 15.6 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.6954, allocations: 1.149 MB / 1.534 GB, free: 14.45 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.6958, allocations: 327 kB / 1.535 GB, free: 14.13 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.6963, allocations: 390.4 kB / 1.535 GB, free: 13.75 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.6987, allocations: 1.635 MB / 1.537 GB, free: 12.11 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.6988, allocations: 4 kB / 1.537 GB, free: 12.1 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6988, allocations: 0 / 1.537 GB, free: 12.1 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.6988, allocations: 0 / 1.537 GB, free: 12.1 MB / 1.232 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.002008/0.7008, allocations: 1.131 MB / 1.538 GB, free: 10.93 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.7008, allocations: 11.97 kB / 1.538 GB, free: 10.92 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.7026, allocations: 283.1 kB / 1.538 GB, free: 10.64 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.7039, allocations: 0.6383 MB / 1.539 GB, free: 9.98 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.7039, allocations: 45.31 kB / 1.539 GB, free: 9.934 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.704, allocations: 60 kB / 1.539 GB, free: 9.875 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.7053, allocations: 0.789 MB / 1.539 GB, free: 9.031 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.7053, allocations: 0 / 1.539 GB, free: 9.031 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.7053, allocations: 20 kB / 1.539 GB, free: 9.012 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/0.7054, allocations: 29.28 kB / 1.539 GB, free: 8.98 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.7064, allocations: 0.5009 MB / 1.54 GB, free: 8.48 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.7093, allocations: 1.481 MB / 1.541 GB, free: 6.969 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000853/0.7102, allocations: 410.8 kB / 1.542 GB, free: 6.559 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.7105, allocations: 212.8 kB / 1.542 GB, free: 6.348 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.7107, allocations: 20 kB / 1.542 GB, free: 6.328 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.7107, allocations: 42.55 kB / 1.542 GB, free: 6.277 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.7107, allocations: 0 / 1.542 GB, free: 6.277 MB / 1.232 GB Notification: Performance of matching and sorting (n=48): time 0.002923/0.7137, allocations: 1.374 MB / 1.543 GB, free: 4.871 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.7137, allocations: 55.84 kB / 1.543 GB, free: 4.805 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005977/0.7143, allocations: 482.8 kB / 1.544 GB, free: 4.32 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.7144, allocations: 37.7 kB / 1.544 GB, free: 4.277 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.7147, allocations: 340.9 kB / 1.544 GB, free: 3.941 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.7148, allocations: 174.4 kB / 1.544 GB, free: 3.77 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.715, allocations: 86.19 kB / 1.545 GB, free: 3.68 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.7152, allocations: 370.7 kB / 1.545 GB, free: 3.309 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.7155, allocations: 180.8 kB / 1.545 GB, free: 3.133 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.716, allocations: 363 kB / 1.545 GB, free: 2.727 MB / 1.232 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.003339/0.7193, allocations: 1.294 MB / 1.547 GB, free: 1.422 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7193, allocations: 0 / 1.547 GB, free: 1.422 MB / 1.232 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008877/0.7202, allocations: 0.5269 MB / 1.547 GB, free: 0.8867 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7202, allocations: 4 kB / 1.547 GB, free: 0.8828 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7202, allocations: 4 kB / 1.547 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.7202, allocations: 4 kB / 1.547 GB, free: 0.875 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.7207, allocations: 95.89 kB / 1.547 GB, free: 0.7812 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.7207, allocations: 0 / 1.547 GB, free: 0.7812 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005314/0.7212, allocations: 18.03 kB / 1.547 GB, free: 0.7656 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.7212, allocations: 16 kB / 1.547 GB, free: 0.75 MB / 1.232 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.0003408/0.7216, allocations: 253.8 kB / 1.548 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.7217, allocations: 71.56 kB / 1.548 GB, free: 432 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.7219, allocations: 69.83 kB / 1.548 GB, free: 360 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7219, allocations: 4 kB / 1.548 GB, free: 356 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7219, allocations: 0 / 1.548 GB, free: 356 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007878/0.7227, allocations: 0.5183 MB / 1.548 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.7251, allocations: 1.366 MB / 1.55 GB, free: 14.33 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.7251, allocations: 4 kB / 1.55 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.7256, allocations: 112.5 kB / 1.55 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.7256, allocations: 8 kB / 1.55 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.7257, allocations: 27.97 kB / 1.55 GB, free: 14.18 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.7257, allocations: 7.938 kB / 1.55 GB, free: 14.17 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.7257, allocations: 11.98 kB / 1.55 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.7271, allocations: 0.8948 MB / 1.551 GB, free: 13.19 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.7274, allocations: 119.5 kB / 1.551 GB, free: 13.07 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.7275, allocations: 20 kB / 1.551 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.728, allocations: 23.98 kB / 1.551 GB, free: 13.03 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.7281, allocations: 43.81 kB / 1.551 GB, free: 12.99 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.7282, allocations: 24 kB / 1.551 GB, free: 12.96 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004089/0.7286, allocations: 334.8 kB / 1.551 GB, free: 12.64 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7286, allocations: 0 / 1.551 GB, free: 12.64 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006799/0.7293, allocations: 200 kB / 1.551 GB, free: 12.45 MB / 1.248 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.0003363/0.7296, allocations: 170.9 kB / 1.551 GB, free: 12.27 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008462/0.7304, allocations: 421.2 kB / 1.552 GB, free: 11.86 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.7304, allocations: 4 kB / 1.552 GB, free: 11.85 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.7308, allocations: 228.6 kB / 1.552 GB, free: 11.63 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.7328, allocations: 445.2 kB / 1.553 GB, free: 11.2 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.7354, allocations: 1.562 MB / 1.554 GB, free: 9.547 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.7359, allocations: 386.7 kB / 1.554 GB, free: 9.145 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005212/0.7364, allocations: 157.2 kB / 1.555 GB, free: 8.988 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.7365, allocations: 51.44 kB / 1.555 GB, free: 8.938 MB / 1.248 GB Notification: Performance of SimCode: time 5.31e-07/0.7365, allocations: 0 / 1.555 GB, free: 8.938 MB / 1.248 GB Notification: Performance of Templates: time 0.02836/0.7649, allocations: 15.52 MB / 1.57 GB, free: 9.762 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.079283088445663]