Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001615/0.001615, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001826/0.001826, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.544/1.544, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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.033/3.033, allocations: 389 MB / 0.633 GB, free: 0.9648 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.075e-05, allocations: 2.281 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.207/1.207, allocations: 161.9 MB / 1.158 GB, free: 45.1 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008905/1.216, allocations: 4.56 MB / 1.163 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009401/1.217, allocations: 41.75 kB / 1.163 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/1.218, allocations: 425.1 kB / 1.163 GB, free: 45.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004467/1.222, allocations: 1.495 MB / 1.165 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/1.225, allocations: 0.8274 MB / 1.165 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002825/1.228, allocations: 1.874 MB / 1.167 GB, free: 44.66 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006931/1.228, allocations: 446.3 kB / 1.168 GB, free: 44.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/1.231, allocations: 1.348 MB / 1.169 GB, free: 44.47 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/1.232, allocations: 0.4972 MB / 1.169 GB, free: 44.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/1.232, allocations: 56.72 kB / 1.169 GB, free: 44.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/1.235, allocations: 1.165 MB / 1.171 GB, free: 44.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003066/1.235, allocations: 290.3 kB / 1.171 GB, free: 44.26 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003592/1.236, allocations: 278.8 kB / 1.171 GB, free: 44.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/1.238, allocations: 1.444 MB / 1.173 GB, free: 44.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.238, allocations: 2.625 kB / 1.173 GB, free: 44.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/1.238, allocations: 1.094 kB / 1.173 GB, free: 44.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.238, allocations: 0 / 1.173 GB, free: 44.09 MB / 1.076 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.001748/1.239, allocations: 1.049 MB / 1.174 GB, free: 43.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.239, allocations: 10.5 kB / 1.174 GB, free: 43.48 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/1.241, allocations: 210.3 kB / 1.174 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009563/1.242, allocations: 0.5515 MB / 1.174 GB, free: 43.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/1.242, allocations: 33.25 kB / 1.174 GB, free: 43.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/1.242, allocations: 56.11 kB / 1.174 GB, free: 43.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/1.243, allocations: 0.6416 MB / 1.175 GB, free: 42.97 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/1.243, allocations: 1.031 kB / 1.175 GB, free: 42.97 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/1.243, allocations: 19.06 kB / 1.175 GB, free: 42.97 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/1.243, allocations: 16.56 kB / 1.175 GB, free: 42.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/1.244, allocations: 434.4 kB / 1.175 GB, free: 42.97 MB / 1.076 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.00303/1.247, allocations: 1.245 MB / 1.177 GB, free: 42.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/1.248, allocations: 329.9 kB / 1.177 GB, free: 42.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/1.248, allocations: 201.2 kB / 1.177 GB, free: 42.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/1.248, allocations: 41.62 kB / 1.177 GB, free: 42.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/1.248, allocations: 37.78 kB / 1.177 GB, free: 42.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/1.248, allocations: 0.6875 kB / 1.177 GB, free: 42.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.00135/1.25, allocations: 0.5378 MB / 1.178 GB, free: 42.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/1.25, allocations: 62.69 kB / 1.178 GB, free: 42.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/1.25, allocations: 471.4 kB / 1.178 GB, free: 42.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/1.25, allocations: 32.02 kB / 1.178 GB, free: 42.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/1.251, allocations: 323.2 kB / 1.179 GB, free: 42.15 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/1.251, allocations: 122.8 kB / 1.179 GB, free: 42.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/1.251, allocations: 67.39 kB / 1.179 GB, free: 42.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.251, allocations: 365.6 kB / 1.179 GB, free: 41.74 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/1.251, allocations: 141.2 kB / 1.179 GB, free: 41.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/1.252, allocations: 371.4 kB / 1.18 GB, free: 41.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/1.252, allocations: 345 kB / 1.18 GB, free: 41.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.252, allocations: 0.8125 kB / 1.18 GB, free: 41.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008231/1.253, allocations: 430.8 kB / 1.18 GB, free: 41.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.253, allocations: 6.594 kB / 1.18 GB, free: 41.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.253, allocations: 3.031 kB / 1.18 GB, free: 41.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.253, allocations: 3.375 kB / 1.18 GB, free: 41.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/1.254, allocations: 74.7 kB / 1.18 GB, free: 41.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.254, allocations: 3.438 kB / 1.18 GB, free: 41.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/1.254, allocations: 32.52 kB / 1.181 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/1.254, allocations: 11.44 kB / 1.181 GB, free: 41.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004433/1.255, allocations: 306.3 kB / 1.181 GB, free: 41.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003662/1.255, allocations: 364.5 kB / 1.181 GB, free: 41.03 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006498/1.256, allocations: 330.8 kB / 1.181 GB, free: 41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/1.256, allocations: 2.031 kB / 1.181 GB, free: 41 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008349/1.256, allocations: 427.2 kB / 1.182 GB, free: 40.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.256, allocations: 9.375 kB / 1.182 GB, free: 40.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/1.256, allocations: 2.094 kB / 1.182 GB, free: 40.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/1.256, allocations: 2.344 kB / 1.182 GB, free: 40.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/1.257, allocations: 70.23 kB / 1.182 GB, free: 40.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.257, allocations: 7.281 kB / 1.182 GB, free: 40.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/1.257, allocations: 36.95 kB / 1.182 GB, free: 40.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/1.257, allocations: 15.59 kB / 1.182 GB, free: 40.91 MB / 1.076 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.0001376/1.257, allocations: 201.5 kB / 1.182 GB, free: 40.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/1.257, allocations: 64.28 kB / 1.182 GB, free: 40.69 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009008/1.258, allocations: 416.6 kB / 1.183 GB, free: 40.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.258, allocations: 3.5 kB / 1.183 GB, free: 40.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.258, allocations: 4.734 kB / 1.183 GB, free: 40.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007166/1.259, allocations: 437.6 kB / 1.183 GB, free: 40.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/1.261, allocations: 1.006 MB / 1.184 GB, free: 40.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/1.261, allocations: 3.922 kB / 1.184 GB, free: 40.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/1.262, allocations: 82.73 kB / 1.184 GB, free: 40.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.262, allocations: 3.188 kB / 1.184 GB, free: 40.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.29e-05/1.262, allocations: 10.88 kB / 1.184 GB, free: 40.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/1.262, allocations: 4.906 kB / 1.184 GB, free: 40.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.262, allocations: 2.609 kB / 1.184 GB, free: 40.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/1.263, allocations: 0.7026 MB / 1.185 GB, free: 39.96 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/1.263, allocations: 99.53 kB / 1.185 GB, free: 39.93 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/1.263, allocations: 9.953 kB / 1.185 GB, free: 39.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004488/1.264, allocations: 25.95 kB / 1.185 GB, free: 39.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.264, allocations: 30.62 kB / 1.185 GB, free: 39.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/1.264, allocations: 13.86 kB / 1.185 GB, free: 39.93 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004735/1.264, allocations: 332.4 kB / 1.185 GB, free: 39.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.264, allocations: 0 / 1.185 GB, free: 39.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0012/1.265, allocations: 340 kB / 1.186 GB, free: 39.79 MB / 1.076 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.0004284/1.266, allocations: 175.8 kB / 1.186 GB, free: 39.69 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.267, allocations: 0.4952 MB / 1.186 GB, free: 39.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.267, allocations: 0 / 1.186 GB, free: 39.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003574/1.267, allocations: 173.7 kB / 1.187 GB, free: 39.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/1.269, allocations: 313.6 kB / 1.187 GB, free: 39.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/1.271, allocations: 1.175 MB / 1.188 GB, free: 39.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/1.272, allocations: 336.8 kB / 1.188 GB, free: 39.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007619/1.272, allocations: 182.2 kB / 1.188 GB, free: 39.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/1.272, allocations: 50.98 kB / 1.189 GB, free: 39.01 MB / 1.076 GB Notification: Performance of SimCode: time 8.02e-07/1.272, allocations: 4.969 kB / 1.189 GB, free: 39 MB / 1.076 GB Notification: Performance of Templates: time 0.02796/1.3, allocations: 11.41 MB / 1.2 GB, free: 37.83 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.717304430902004]