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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 110.5 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00244/0.00244, allocations: 191.8 kB / 20.03 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 489.2 MB / 0.7687 GB, free: 3.965 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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: Performance of FrontEnd - loaded program: time 0.002005/0.002006, allocations: 72.03 kB / 1.103 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9272/0.9292, allocations: 163.8 MB / 1.263 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.234/1.163, allocations: 181.9 MB / 1.44 GB, free: 15.46 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009308/1.173, allocations: 5.371 MB / 1.446 GB, free: 11.09 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/1.174, allocations: 35.19 kB / 1.446 GB, free: 11.08 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/1.175, allocations: 434.2 kB / 1.446 GB, free: 10.72 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004814/1.18, allocations: 1.681 MB / 1.448 GB, free: 9.418 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002143/1.182, allocations: 0.8115 MB / 1.448 GB, free: 8.785 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003387/1.186, allocations: 2.203 MB / 1.451 GB, free: 7.508 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/1.187, allocations: 0.6864 MB / 1.451 GB, free: 6.934 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/1.189, allocations: 0.9341 MB / 1.452 GB, free: 5.996 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/1.191, allocations: 0.6728 MB / 1.453 GB, free: 5.332 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/1.191, allocations: 76 kB / 1.453 GB, free: 5.258 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/1.194, allocations: 1.387 MB / 1.454 GB, free: 3.867 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000436/1.195, allocations: 323.1 kB / 1.455 GB, free: 3.551 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006897/1.195, allocations: 473.9 kB / 1.455 GB, free: 3.086 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/1.199, allocations: 1.663 MB / 1.457 GB, free: 1.418 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/1.199, allocations: 0 / 1.457 GB, free: 1.418 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.714e-06/1.199, allocations: 7.875 kB / 1.457 GB, free: 1.41 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.421e-05/1.199, allocations: 0 / 1.457 GB, free: 1.41 MB / 1.139 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.001984/1.201, allocations: 1.218 MB / 1.458 GB, free: 140 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.201, allocations: 8.031 kB / 1.458 GB, free: 132 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/1.203, allocations: 275.2 kB / 1.458 GB, free: 15.86 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/1.204, allocations: 0.7144 MB / 1.459 GB, free: 15.11 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/1.204, allocations: 45.31 kB / 1.459 GB, free: 15.06 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.204, allocations: 63.95 kB / 1.459 GB, free: 15 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.205, allocations: 0.5843 MB / 1.459 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/1.205, allocations: 3.984 kB / 1.459 GB, free: 14.4 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.782e-05/1.205, allocations: 20 kB / 1.459 GB, free: 14.38 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/1.205, allocations: 21.31 kB / 1.459 GB, free: 14.36 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009141/1.206, allocations: 0.5048 MB / 1.46 GB, free: 13.86 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/1.21, allocations: 2.543 MB / 1.462 GB, free: 11.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008366/1.21, allocations: 425.5 kB / 1.463 GB, free: 10.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/1.211, allocations: 217.5 kB / 1.463 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/1.211, allocations: 97.09 kB / 1.463 GB, free: 10.34 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.211, allocations: 42.52 kB / 1.463 GB, free: 10.29 MB / 1.154 GB Notification: Performance of pre-optimization done (n=43): time 2.916e-06/1.211, allocations: 4 kB / 1.463 GB, free: 10.28 MB / 1.154 GB Notification: Performance of matching and sorting (n=48): time 0.003065/1.214, allocations: 1.45 MB / 1.465 GB, free: 8.777 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.214, allocations: 59.78 kB / 1.465 GB, free: 8.707 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/1.215, allocations: 0.5422 MB / 1.465 GB, free: 8.152 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/1.215, allocations: 37.7 kB / 1.465 GB, free: 8.109 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/1.215, allocations: 329.1 kB / 1.466 GB, free: 7.785 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/1.215, allocations: 178.5 kB / 1.466 GB, free: 7.609 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/1.216, allocations: 94.2 kB / 1.466 GB, free: 7.512 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.216, allocations: 370.7 kB / 1.466 GB, free: 7.141 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/1.216, allocations: 177 kB / 1.466 GB, free: 6.969 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/1.217, allocations: 260.8 kB / 1.467 GB, free: 6.688 MB / 1.154 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.003534/1.22, allocations: 1.443 MB / 1.468 GB, free: 5.191 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.22, allocations: 0 / 1.468 GB, free: 5.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001007/1.221, allocations: 0.5269 MB / 1.468 GB, free: 4.656 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.221, allocations: 8 kB / 1.469 GB, free: 4.648 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.221, allocations: 0 / 1.469 GB, free: 4.648 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/1.221, allocations: 8.031 kB / 1.469 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/1.222, allocations: 95.89 kB / 1.469 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.222, allocations: 7.938 kB / 1.469 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/1.222, allocations: 13.72 kB / 1.469 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/1.222, allocations: 23.92 kB / 1.469 GB, free: 4.504 MB / 1.154 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.0004065/1.223, allocations: 257.7 kB / 1.469 GB, free: 4.242 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/1.223, allocations: 67.58 kB / 1.469 GB, free: 4.176 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/1.223, allocations: 82.45 kB / 1.469 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.223, allocations: 4 kB / 1.469 GB, free: 4.09 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.223, allocations: 0 / 1.469 GB, free: 4.09 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007736/1.224, allocations: 0.5106 MB / 1.47 GB, free: 3.551 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/1.226, allocations: 1.586 MB / 1.471 GB, free: 1.848 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.226, allocations: 7.938 kB / 1.471 GB, free: 1.84 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/1.227, allocations: 116.5 kB / 1.471 GB, free: 1.727 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/1.227, allocations: 12 kB / 1.471 GB, free: 1.715 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/1.227, allocations: 16 kB / 1.471 GB, free: 1.699 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/1.227, allocations: 15.94 kB / 1.471 GB, free: 1.684 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.227, allocations: 7.938 kB / 1.471 GB, free: 1.676 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/1.228, allocations: 0.9062 MB / 1.472 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/1.229, allocations: 204.6 kB / 1.472 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.229, allocations: 16 kB / 1.472 GB, free: 464 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/1.229, allocations: 22.62 kB / 1.472 GB, free: 444 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/1.229, allocations: 55.77 kB / 1.472 GB, free: 388 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/1.229, allocations: 23.94 kB / 1.472 GB, free: 364 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000487/1.23, allocations: 398.9 kB / 1.473 GB, free: 15.96 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.31e-07/1.23, allocations: 0 / 1.473 GB, free: 15.96 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006818/1.23, allocations: 204 kB / 1.473 GB, free: 15.77 MB / 1.17 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.0004882/1.231, allocations: 196.6 kB / 1.473 GB, free: 15.58 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008335/1.232, allocations: 437.2 kB / 1.474 GB, free: 15.15 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.232, allocations: 0 / 1.474 GB, free: 15.15 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003784/1.232, allocations: 236.7 kB / 1.474 GB, free: 14.92 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.234, allocations: 489.3 kB / 1.474 GB, free: 14.46 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/1.237, allocations: 1.609 MB / 1.476 GB, free: 12.75 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/1.238, allocations: 0.9772 MB / 1.477 GB, free: 11.74 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/1.238, allocations: 55.44 kB / 1.477 GB, free: 11.69 MB / 1.17 GB Notification: Performance of SimCode: time 7.01e-07/1.238, allocations: 0 / 1.477 GB, free: 11.69 MB / 1.17 GB Notification: Performance of Templates: time 0.0183/1.256, allocations: 11.68 MB / 1.488 GB, free: 92 kB / 1.17 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.410621545976028]