Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001564/0.001564, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001626/0.001626, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.503/1.503, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.932/2.932, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.913e-05/4.059e-05, allocations: 10.83 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2677/0.2677, allocations: 160.6 MB / 0.9676 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.2791, allocations: 5.084 MB / 0.9726 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.2811, allocations: 47.62 kB / 0.9726 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.2831, allocations: 429.2 kB / 0.973 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.006349/0.2894, allocations: 1.796 MB / 0.9748 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002876/0.2923, allocations: 0.8376 MB / 0.9756 GB, free: 8.773 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004533/0.2969, allocations: 2.278 MB / 0.9778 GB, free: 6.484 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.2983, allocations: 0.5494 MB / 0.9784 GB, free: 5.926 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.3019, allocations: 1.243 MB / 0.9796 GB, free: 4.68 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.3048, allocations: 0.6687 MB / 0.9802 GB, free: 4.047 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.3051, allocations: 76 kB / 0.9803 GB, free: 3.973 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003276/0.3083, allocations: 1.172 MB / 0.9815 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0006714/0.309, allocations: 347 kB / 0.9818 GB, free: 2.457 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0009086/0.3099, allocations: 335.2 kB / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.004099/0.314, allocations: 1.683 MB / 0.9837 GB, free: 452 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.314, allocations: 0 / 0.9837 GB, free: 452 kB / 0.9323 GB Notification: Performance of FrontEnd: time 2.164e-06/0.314, allocations: 0 / 0.9837 GB, free: 452 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.821e-05/0.3141, allocations: 0 / 0.9837 GB, free: 452 kB / 0.9323 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.003097/0.3172, allocations: 1.131 MB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.3172, allocations: 12.03 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.3195, allocations: 346.8 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.321, allocations: 0.6814 MB / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.3211, allocations: 45.31 kB / 0.9859 GB, free: 14.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.3212, allocations: 67.73 kB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3228, allocations: 0.7851 MB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.3228, allocations: 0 / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.3229, allocations: 28 kB / 0.9868 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.3229, allocations: 25.31 kB / 0.9868 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.324, allocations: 0.5009 MB / 0.9873 GB, free: 12.71 MB / 0.948 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.004054/0.3281, allocations: 1.501 MB / 0.9887 GB, free: 11.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009896/0.3291, allocations: 417.5 kB / 0.9891 GB, free: 10.76 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.3295, allocations: 212.7 kB / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.3297, allocations: 23.98 kB / 0.9894 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.3297, allocations: 42.5 kB / 0.9894 GB, free: 10.47 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.194e-06/0.3297, allocations: 3.938 kB / 0.9894 GB, free: 10.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=48): time 0.003697/0.3334, allocations: 1.39 MB / 0.9908 GB, free: 9.051 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.3335, allocations: 55.91 kB / 0.9908 GB, free: 8.984 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/0.3342, allocations: 478.8 kB / 0.9913 GB, free: 8.512 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.3343, allocations: 37.7 kB / 0.9913 GB, free: 8.469 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.3347, allocations: 344.9 kB / 0.9916 GB, free: 8.125 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.3349, allocations: 170.5 kB / 0.9918 GB, free: 7.957 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.335, allocations: 86.16 kB / 0.9919 GB, free: 7.867 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002658/0.3353, allocations: 374.8 kB / 0.9922 GB, free: 7.492 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.3357, allocations: 172.9 kB / 0.9924 GB, free: 7.324 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/0.3363, allocations: 363.1 kB / 0.9928 GB, free: 6.918 MB / 0.948 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.004026/0.3403, allocations: 1.299 MB / 0.994 GB, free: 5.602 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3403, allocations: 0 / 0.994 GB, free: 5.602 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001216/0.3415, allocations: 0.5401 MB / 0.9946 GB, free: 5.059 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3415, allocations: 4 kB / 0.9946 GB, free: 5.055 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3415, allocations: 0 / 0.9946 GB, free: 5.055 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.3416, allocations: 7.984 kB / 0.9946 GB, free: 5.047 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.342, allocations: 91.91 kB / 0.9946 GB, free: 4.957 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.342, allocations: 7.938 kB / 0.9947 GB, free: 4.949 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.3427, allocations: 24.14 kB / 0.9947 GB, free: 4.926 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.3427, allocations: 16 kB / 0.9947 GB, free: 4.91 MB / 0.948 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.00048/0.3432, allocations: 246.8 kB / 0.9949 GB, free: 4.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.3434, allocations: 83.58 kB / 0.995 GB, free: 4.578 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.3436, allocations: 73.81 kB / 0.9951 GB, free: 4.504 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3436, allocations: 4 kB / 0.9951 GB, free: 4.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.3436, allocations: 4.047 kB / 0.9951 GB, free: 4.496 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009305/0.3446, allocations: 0.5159 MB / 0.9956 GB, free: 3.949 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.3474, allocations: 1.37 MB / 0.9969 GB, free: 2.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.3474, allocations: 8.031 kB / 0.9969 GB, free: 2.473 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.348, allocations: 119.8 kB / 0.9971 GB, free: 2.355 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.348, allocations: 7.938 kB / 0.9971 GB, free: 2.348 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.3481, allocations: 20 kB / 0.9971 GB, free: 2.328 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.3481, allocations: 8 kB / 0.9971 GB, free: 2.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-05/0.3481, allocations: 15.92 kB / 0.9971 GB, free: 2.305 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.3497, allocations: 0.9086 MB / 0.998 GB, free: 1.316 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.35, allocations: 111.6 kB / 0.9981 GB, free: 1.207 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-05/0.3501, allocations: 19.98 kB / 0.9981 GB, free: 1.188 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.3506, allocations: 19.95 kB / 0.9981 GB, free: 1.168 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.3507, allocations: 47.81 kB / 0.9982 GB, free: 1.121 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/0.3508, allocations: 23.98 kB / 0.9982 GB, free: 1.098 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004895/0.3513, allocations: 334.9 kB / 0.9985 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 0.9985 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008082/0.3521, allocations: 196 kB / 0.9987 GB, free: 0.582 MB / 0.948 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.0003722/0.3524, allocations: 183 kB / 0.9989 GB, free: 408 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009239/0.3534, allocations: 426 kB / 0.9993 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3534, allocations: 320 / 0.9993 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.3538, allocations: 228.3 kB / 0.9995 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.3559, allocations: 462 kB / 0.9999 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.3589, allocations: 1.465 MB / 1.001 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.3595, allocations: 382.8 kB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007134/0.3602, allocations: 161.2 kB / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.3604, allocations: 56.5 kB / 1.002 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of SimCode: time 1.213e-06/0.3604, allocations: 0 / 1.002 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of Templates: time 0.02866/0.389, allocations: 14.4 MB / 1.016 GB, free: 15.13 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.810803179978393]