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.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.001606/0.001606, allocations: 113.5 kB / 17.08 MB, free: 5.957 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.00161/0.001611, allocations: 192.7 kB / 20.02 MB, free: 3.039 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.496/1.496, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] 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 3.195/3.195, allocations: 489.3 MB / 0.7687 GB, free: 3.777 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.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 0.001961/0.001961, allocations: 67.89 kB / 1.103 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9964/0.9984, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.3034/1.302, allocations: 183.3 MB / 1.442 GB, free: 14.34 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01299/1.315, allocations: 4.882 MB / 1.446 GB, free: 10.37 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/1.317, allocations: 30.31 kB / 1.446 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/1.319, allocations: 432.9 kB / 1.447 GB, free: 10.01 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005995/1.325, allocations: 1.413 MB / 1.448 GB, free: 8.914 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/1.328, allocations: 0.7773 MB / 1.449 GB, free: 8.336 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004537/1.333, allocations: 1.846 MB / 1.451 GB, free: 7.27 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/1.334, allocations: 0.603 MB / 1.451 GB, free: 6.824 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/1.338, allocations: 1.07 MB / 1.452 GB, free: 5.75 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/1.34, allocations: 0.5272 MB / 1.453 GB, free: 5.223 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/1.34, allocations: 60 kB / 1.453 GB, free: 5.164 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/1.343, allocations: 1.403 MB / 1.454 GB, free: 3.758 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003507/1.344, allocations: 275.2 kB / 1.455 GB, free: 3.488 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005736/1.344, allocations: 402.1 kB / 1.455 GB, free: 3.094 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/1.347, allocations: 1.421 MB / 1.456 GB, free: 1.668 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.347, allocations: 4 kB / 1.456 GB, free: 1.664 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.783e-06/1.347, allocations: 0 / 1.456 GB, free: 1.664 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.323e-05/1.347, allocations: 0 / 1.456 GB, free: 1.664 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.002364/1.35, allocations: 1.128 MB / 1.457 GB, free: 492 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.35, allocations: 8.031 kB / 1.457 GB, free: 484 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/1.351, allocations: 219.2 kB / 1.458 GB, free: 264 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/1.352, allocations: 0.6167 MB / 1.458 GB, free: 15.6 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/1.352, allocations: 37 kB / 1.458 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.935e-05/1.352, allocations: 51.98 kB / 1.458 GB, free: 15.52 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/1.353, allocations: 490.4 kB / 1.459 GB, free: 15.04 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/1.353, allocations: 4 kB / 1.459 GB, free: 15.03 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/1.353, allocations: 24 kB / 1.459 GB, free: 15.01 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/1.353, allocations: 20.92 kB / 1.459 GB, free: 14.99 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008519/1.354, allocations: 439.7 kB / 1.459 GB, free: 14.55 MB / 1.154 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.002989/1.357, allocations: 2.085 MB / 1.461 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/1.358, allocations: 339.5 kB / 1.462 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/1.358, allocations: 216.2 kB / 1.462 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/1.359, allocations: 190.5 kB / 1.462 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.359, allocations: 38.84 kB / 1.462 GB, free: 11.45 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/1.359, allocations: 0 / 1.462 GB, free: 11.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=33): time 0.001362/1.36, allocations: 0.5461 MB / 1.463 GB, free: 10.9 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.36, allocations: 67.22 kB / 1.463 GB, free: 10.82 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/1.361, allocations: 0.5069 MB / 1.463 GB, free: 10.3 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/1.361, allocations: 33.7 kB / 1.463 GB, free: 10.26 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/1.361, allocations: 304.6 kB / 1.463 GB, free: 9.961 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/1.361, allocations: 126.9 kB / 1.464 GB, free: 9.836 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/1.361, allocations: 77.97 kB / 1.464 GB, free: 9.754 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.362, allocations: 358.8 kB / 1.464 GB, free: 9.395 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/1.362, allocations: 146.1 kB / 1.464 GB, free: 9.25 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/1.362, allocations: 211.7 kB / 1.464 GB, free: 9.02 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/1.363, allocations: 335.7 kB / 1.465 GB, free: 8.68 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.363, allocations: 4 kB / 1.465 GB, free: 8.676 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007977/1.364, allocations: 440.8 kB / 1.465 GB, free: 8.238 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.364, allocations: 4 kB / 1.465 GB, free: 8.234 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.364, allocations: 4 kB / 1.465 GB, free: 8.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.364, allocations: 0 / 1.465 GB, free: 8.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/1.364, allocations: 67.91 kB / 1.465 GB, free: 8.164 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.364, allocations: 7.938 kB / 1.465 GB, free: 8.156 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/1.365, allocations: 43.91 kB / 1.465 GB, free: 8.113 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/1.365, allocations: 8 kB / 1.465 GB, free: 8.105 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004907/1.365, allocations: 308 kB / 1.466 GB, free: 7.801 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003536/1.365, allocations: 211.4 kB / 1.466 GB, free: 7.57 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005949/1.366, allocations: 331.4 kB / 1.466 GB, free: 7.234 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/1.366, allocations: 0 / 1.466 GB, free: 7.234 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007661/1.367, allocations: 429 kB / 1.466 GB, free: 6.809 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.367, allocations: 10.19 kB / 1.466 GB, free: 6.801 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/1.367, allocations: 0 / 1.466 GB, free: 6.801 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/1.367, allocations: 3.938 kB / 1.466 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/1.367, allocations: 71.91 kB / 1.467 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/1.367, allocations: 4 kB / 1.467 GB, free: 6.723 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/1.368, allocations: 39.86 kB / 1.467 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/1.368, allocations: 16 kB / 1.467 GB, free: 6.668 MB / 1.154 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.0001753/1.368, allocations: 204.2 kB / 1.467 GB, free: 6.461 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.368, allocations: 59.62 kB / 1.467 GB, free: 6.402 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008558/1.369, allocations: 427.9 kB / 1.467 GB, free: 5.977 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.369, allocations: 4 kB / 1.467 GB, free: 5.973 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.369, allocations: 3.938 kB / 1.467 GB, free: 5.969 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006971/1.37, allocations: 444.1 kB / 1.468 GB, free: 5.504 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/1.372, allocations: 1.171 MB / 1.469 GB, free: 4.258 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.372, allocations: 8.188 kB / 1.469 GB, free: 4.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/1.372, allocations: 83.89 kB / 1.469 GB, free: 4.168 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.372, allocations: 4 kB / 1.469 GB, free: 4.164 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/1.372, allocations: 8 kB / 1.469 GB, free: 4.156 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.372, allocations: 0 / 1.469 GB, free: 4.156 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.372, allocations: 4 kB / 1.469 GB, free: 4.152 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/1.373, allocations: 0.707 MB / 1.47 GB, free: 3.41 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/1.374, allocations: 180.7 kB / 1.47 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/1.374, allocations: 12 kB / 1.47 GB, free: 3.203 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/1.374, allocations: 27.97 kB / 1.47 GB, free: 3.176 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/1.374, allocations: 23.97 kB / 1.47 GB, free: 3.152 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/1.374, allocations: 8 kB / 1.47 GB, free: 3.145 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00048/1.375, allocations: 370.8 kB / 1.47 GB, free: 2.785 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.81e-07/1.375, allocations: 0 / 1.47 GB, free: 2.785 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009968/1.376, allocations: 327.3 kB / 1.471 GB, free: 2.465 MB / 1.154 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.0005394/1.376, allocations: 197.1 kB / 1.471 GB, free: 2.273 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00123/1.377, allocations: 0.512 MB / 1.471 GB, free: 1.762 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.377, allocations: 0 / 1.471 GB, free: 1.762 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/1.378, allocations: 188.7 kB / 1.471 GB, free: 1.578 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/1.38, allocations: 342.5 kB / 1.472 GB, free: 1.246 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/1.382, allocations: 1.315 MB / 1.473 GB, free: 15.88 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/1.382, allocations: 0.9334 MB / 1.474 GB, free: 14.91 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/1.383, allocations: 55.44 kB / 1.474 GB, free: 14.86 MB / 1.17 GB Notification: Performance of SimCode: time 4.5e-07/1.383, allocations: 0 / 1.474 GB, free: 14.86 MB / 1.17 GB Notification: Performance of Templates: time 0.01645/1.399, allocations: 9.735 MB / 1.483 GB, free: 5.195 MB / 1.17 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.682743358891457]