Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Delays.Examples.Delay.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.002051/0.002051, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002479/0.002479, allocations: 159 kB / 23.01 MB, free: 4.602 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.531/1.531, allocations: 177.2 MB / 203.4 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.752/2.752, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") [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.002163/0.002163, allocations: 67.91 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3926, allocations: 169.9 MB / 1.117 GB, free: 2.602 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.094/1.487, allocations: 161.9 MB / 1.276 GB, free: 2.969 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.011/1.498, allocations: 4.583 MB / 1.28 GB, free: 15.89 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/1.5, allocations: 46.5 kB / 1.28 GB, free: 15.86 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/1.501, allocations: 415.9 kB / 1.28 GB, free: 15.63 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0056/1.507, allocations: 1.468 MB / 1.282 GB, free: 14.84 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/1.51, allocations: 0.7879 MB / 1.283 GB, free: 14.45 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003755/1.514, allocations: 1.875 MB / 1.285 GB, free: 13.59 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/1.515, allocations: 464.5 kB / 1.285 GB, free: 13.37 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/1.518, allocations: 0.9229 MB / 1.286 GB, free: 12.95 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/1.519, allocations: 0.5565 MB / 1.286 GB, free: 12.74 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/1.519, allocations: 58.81 kB / 1.286 GB, free: 12.74 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/1.523, allocations: 1.165 MB / 1.288 GB, free: 12.34 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004851/1.524, allocations: 274.5 kB / 1.288 GB, free: 12.22 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006901/1.524, allocations: 334.5 kB / 1.288 GB, free: 12.05 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003234/1.528, allocations: 1.393 MB / 1.29 GB, free: 11.56 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.528, allocations: 5.703 kB / 1.29 GB, free: 11.56 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.693e-06/1.528, allocations: 0 / 1.29 GB, free: 11.56 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.528, allocations: 0 / 1.29 GB, free: 11.56 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002362/1.53, allocations: 1.045 MB / 1.291 GB, free: 10.84 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.53, allocations: 13.89 kB / 1.291 GB, free: 10.84 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/1.531, allocations: 215.3 kB / 1.291 GB, free: 10.78 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/1.533, allocations: 0.5551 MB / 1.291 GB, free: 10.42 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/1.533, allocations: 37.44 kB / 1.291 GB, free: 10.41 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.533, allocations: 44.28 kB / 1.291 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/1.534, allocations: 0.6385 MB / 1.292 GB, free: 10.02 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/1.534, allocations: 3.953 kB / 1.292 GB, free: 10.01 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/1.534, allocations: 20.34 kB / 1.292 GB, free: 9.996 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/1.534, allocations: 19.56 kB / 1.292 GB, free: 9.996 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009717/1.535, allocations: 437.5 kB / 1.292 GB, free: 9.859 MB / 1.139 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.003108/1.538, allocations: 1.242 MB / 1.294 GB, free: 9.207 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/1.539, allocations: 333.3 kB / 1.294 GB, free: 9.066 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/1.54, allocations: 200.3 kB / 1.294 GB, free: 8.992 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/1.54, allocations: 34.36 kB / 1.294 GB, free: 8.992 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/1.54, allocations: 38.3 kB / 1.294 GB, free: 8.949 MB / 1.139 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/1.54, allocations: 1.219 kB / 1.294 GB, free: 8.949 MB / 1.139 GB Notification: Performance of matching and sorting (n=33): time 0.001659/1.542, allocations: 0.5434 MB / 1.295 GB, free: 8.738 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/1.542, allocations: 58.81 kB / 1.295 GB, free: 8.672 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/1.542, allocations: 465.1 kB / 1.295 GB, free: 8.461 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.035e-05/1.543, allocations: 36.95 kB / 1.295 GB, free: 8.422 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/1.543, allocations: 307.2 kB / 1.296 GB, free: 8.18 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/1.543, allocations: 123.5 kB / 1.296 GB, free: 8.082 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/1.543, allocations: 69.88 kB / 1.296 GB, free: 8.043 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002383/1.543, allocations: 370 kB / 1.296 GB, free: 7.699 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/1.544, allocations: 149.2 kB / 1.296 GB, free: 7.641 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/1.544, allocations: 371.2 kB / 1.297 GB, free: 7.332 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/1.545, allocations: 331.4 kB / 1.297 GB, free: 7.184 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.545, allocations: 1.906 kB / 1.297 GB, free: 7.184 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009268/1.546, allocations: 440.2 kB / 1.297 GB, free: 6.992 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.546, allocations: 7.812 kB / 1.297 GB, free: 6.992 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.546, allocations: 1.219 kB / 1.297 GB, free: 6.992 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.546, allocations: 2.031 kB / 1.297 GB, free: 6.992 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/1.546, allocations: 69.23 kB / 1.297 GB, free: 6.988 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/1.546, allocations: 5.172 kB / 1.297 GB, free: 6.988 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/1.547, allocations: 34.42 kB / 1.298 GB, free: 6.969 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/1.547, allocations: 16.23 kB / 1.298 GB, free: 6.965 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005674/1.548, allocations: 305.2 kB / 1.298 GB, free: 6.801 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004797/1.548, allocations: 364.6 kB / 1.298 GB, free: 6.496 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006556/1.549, allocations: 326 kB / 1.298 GB, free: 6.348 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/1.549, allocations: 1.859 kB / 1.298 GB, free: 6.348 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008671/1.55, allocations: 431 kB / 1.299 GB, free: 6.16 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.55, allocations: 6.969 kB / 1.299 GB, free: 6.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.55, allocations: 3.031 kB / 1.299 GB, free: 6.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/1.55, allocations: 2.312 kB / 1.299 GB, free: 6.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/1.55, allocations: 76 kB / 1.299 GB, free: 6.148 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.55, allocations: 4.438 kB / 1.299 GB, free: 6.148 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/1.55, allocations: 34.22 kB / 1.299 GB, free: 6.133 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/1.55, allocations: 13.22 kB / 1.299 GB, free: 6.129 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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.0002088/1.551, allocations: 203.9 kB / 1.299 GB, free: 5.93 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.551, allocations: 59.06 kB / 1.299 GB, free: 5.898 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009401/1.552, allocations: 416.4 kB / 1.3 GB, free: 5.723 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/1.552, allocations: 2.562 kB / 1.3 GB, free: 5.723 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.552, allocations: 2.156 kB / 1.3 GB, free: 5.723 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007365/1.552, allocations: 445.9 kB / 1.3 GB, free: 5.453 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/1.555, allocations: 1.005 MB / 1.301 GB, free: 4.891 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.555, allocations: 1.094 kB / 1.301 GB, free: 4.891 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/1.555, allocations: 90.56 kB / 1.301 GB, free: 4.879 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/1.555, allocations: 11.19 kB / 1.301 GB, free: 4.871 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/1.555, allocations: 10.17 kB / 1.301 GB, free: 4.867 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.555, allocations: 6.469 kB / 1.301 GB, free: 4.867 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.555, allocations: 5.062 kB / 1.301 GB, free: 4.863 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/1.556, allocations: 0.6903 MB / 1.302 GB, free: 4.488 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/1.557, allocations: 101.6 kB / 1.302 GB, free: 4.43 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/1.557, allocations: 12.75 kB / 1.302 GB, free: 4.422 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/1.557, allocations: 24.34 kB / 1.302 GB, free: 4.418 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/1.557, allocations: 32.27 kB / 1.302 GB, free: 4.406 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/1.557, allocations: 10.19 kB / 1.302 GB, free: 4.406 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004639/1.558, allocations: 328.1 kB / 1.302 GB, free: 4.254 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.558, allocations: 0 / 1.302 GB, free: 4.254 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001142/1.559, allocations: 338.2 kB / 1.303 GB, free: 4.184 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.0003814/1.559, allocations: 171 kB / 1.303 GB, free: 4.07 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001107/1.56, allocations: 0.4913 MB / 1.303 GB, free: 3.914 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.56, allocations: 1.188 kB / 1.303 GB, free: 3.914 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003946/1.561, allocations: 170.9 kB / 1.303 GB, free: 3.859 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.562, allocations: 342.9 kB / 1.304 GB, free: 3.762 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/1.565, allocations: 1.258 MB / 1.305 GB, free: 3 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/1.565, allocations: 339.2 kB / 1.305 GB, free: 2.879 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006305/1.566, allocations: 173.8 kB / 1.306 GB, free: 2.852 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/1.566, allocations: 45 kB / 1.306 GB, free: 2.844 MB / 1.139 GB Notification: Performance of SimCode: time 6.41e-07/1.566, allocations: 0 / 1.306 GB, free: 2.844 MB / 1.139 GB Notification: Performance of Templates: time 0.02492/1.591, allocations: 11.7 MB / 1.317 GB, free: 11.74 MB / 1.154 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.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.33355760294944]