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.001146/0.001146, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.00143/0.00143, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9489/0.9489, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.884/1.884, allocations: 389 MB / 0.6338 GB, free: 12.74 MB / 0.6042 GB " [Timeout remaining time 177] 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.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.734e-05, allocations: 2.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6279/0.628, allocations: 161.8 MB / 1.159 GB, free: 14.33 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.007453/0.6354, allocations: 4.568 MB / 1.163 GB, free: 11.26 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.6367, allocations: 46.97 kB / 1.163 GB, free: 11.23 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.6379, allocations: 418.9 kB / 1.164 GB, free: 11 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.00397/0.6419, allocations: 1.497 MB / 1.165 GB, free: 10.18 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.6442, allocations: 0.8326 MB / 1.166 GB, free: 9.754 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003355/0.6475, allocations: 1.875 MB / 1.168 GB, free: 8.875 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000968/0.6485, allocations: 447.3 kB / 1.168 GB, free: 8.656 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.6515, allocations: 1.342 MB / 1.17 GB, free: 8.062 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.6528, allocations: 0.4939 MB / 1.17 GB, free: 7.902 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.6529, allocations: 62.14 kB / 1.17 GB, free: 7.898 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.6554, allocations: 1.168 MB / 1.171 GB, free: 7.492 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.6558, allocations: 284.5 kB / 1.172 GB, free: 7.359 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.6562, allocations: 281.6 kB / 1.172 GB, free: 7.25 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002938/0.6592, allocations: 1.444 MB / 1.173 GB, free: 6.75 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6592, allocations: 1.188 kB / 1.173 GB, free: 6.75 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6592, allocations: 0 / 1.173 GB, free: 6.75 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.994e-05/0.6592, allocations: 0 / 1.173 GB, free: 6.75 MB / 1.026 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.002064/0.6613, allocations: 1.046 MB / 1.174 GB, free: 6.02 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.6613, allocations: 9.25 kB / 1.174 GB, free: 6.02 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009456/0.6623, allocations: 215.2 kB / 1.175 GB, free: 5.961 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.6631, allocations: 0.5538 MB / 1.175 GB, free: 5.609 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.6632, allocations: 36.78 kB / 1.175 GB, free: 5.594 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.6632, allocations: 48.53 kB / 1.175 GB, free: 5.578 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.6641, allocations: 0.6462 MB / 1.176 GB, free: 5.191 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6641, allocations: 0 / 1.176 GB, free: 5.191 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.6641, allocations: 21.42 kB / 1.176 GB, free: 5.176 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.6641, allocations: 20.38 kB / 1.176 GB, free: 5.176 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.6648, allocations: 433.5 kB / 1.176 GB, free: 5.043 MB / 1.026 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.002052/0.6668, allocations: 1.244 MB / 1.177 GB, free: 4.391 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.6673, allocations: 331.9 kB / 1.178 GB, free: 4.25 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.6676, allocations: 194.1 kB / 1.178 GB, free: 4.184 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.6678, allocations: 38.56 kB / 1.178 GB, free: 4.18 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.6678, allocations: 39.23 kB / 1.178 GB, free: 4.137 MB / 1.026 GB Notification: Performance of pre-optimization done (n=33): time 2.745e-06/0.6678, allocations: 3.938 kB / 1.178 GB, free: 4.133 MB / 1.026 GB Notification: Performance of matching and sorting (n=33): time 0.0009642/0.6688, allocations: 0.5368 MB / 1.179 GB, free: 3.93 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.6688, allocations: 59.06 kB / 1.179 GB, free: 3.863 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.6693, allocations: 472.7 kB / 1.179 GB, free: 3.648 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.6693, allocations: 32.52 kB / 1.179 GB, free: 3.613 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.6695, allocations: 320.1 kB / 1.179 GB, free: 3.355 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 9.998e-05/0.6696, allocations: 126 kB / 1.18 GB, free: 3.254 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.6697, allocations: 72.39 kB / 1.18 GB, free: 3.211 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6699, allocations: 363.7 kB / 1.18 GB, free: 2.875 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.6701, allocations: 141.4 kB / 1.18 GB, free: 2.824 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.6704, allocations: 380.3 kB / 1.18 GB, free: 2.508 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.6708, allocations: 337 kB / 1.181 GB, free: 2.355 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6708, allocations: 3.938 kB / 1.181 GB, free: 2.352 MB / 1.026 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005595/0.6714, allocations: 427.4 kB / 1.181 GB, free: 2.172 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.6714, allocations: 6.328 kB / 1.181 GB, free: 2.172 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.6714, allocations: 1.125 kB / 1.181 GB, free: 2.172 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.6714, allocations: 6.266 kB / 1.181 GB, free: 2.168 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.6717, allocations: 68.95 kB / 1.181 GB, free: 2.164 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6717, allocations: 7.078 kB / 1.181 GB, free: 2.16 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.672, allocations: 40.62 kB / 1.181 GB, free: 2.141 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.672, allocations: 10.44 kB / 1.181 GB, free: 2.141 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003819/0.6724, allocations: 308.9 kB / 1.182 GB, free: 1.973 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002639/0.6726, allocations: 360.6 kB / 1.182 GB, free: 1.672 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003901/0.673, allocations: 342.9 kB / 1.182 GB, free: 1.512 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.673, allocations: 1.562 kB / 1.182 GB, free: 1.512 MB / 1.026 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005433/0.6736, allocations: 421 kB / 1.183 GB, free: 1.332 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.6736, allocations: 9.688 kB / 1.183 GB, free: 1.328 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.6736, allocations: 1.344 kB / 1.183 GB, free: 1.328 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.6736, allocations: 3.688 kB / 1.183 GB, free: 1.328 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.6738, allocations: 73.66 kB / 1.183 GB, free: 1.316 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6738, allocations: 2.953 kB / 1.183 GB, free: 1.316 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.6741, allocations: 38.69 kB / 1.183 GB, free: 1.297 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.6741, allocations: 13.3 kB / 1.183 GB, free: 1.293 MB / 1.026 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.0001326/0.6742, allocations: 199.4 kB / 1.183 GB, free: 1.098 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.6743, allocations: 55.67 kB / 1.183 GB, free: 1.07 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005767/0.6749, allocations: 420.5 kB / 1.183 GB, free: 0.8867 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6749, allocations: 7.203 kB / 1.183 GB, free: 0.8828 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6749, allocations: 1.25 kB / 1.183 GB, free: 0.8828 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004382/0.6753, allocations: 433.6 kB / 1.184 GB, free: 0.625 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.6766, allocations: 1.012 MB / 1.185 GB, free: 60 kB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6766, allocations: 1.031 kB / 1.185 GB, free: 60 kB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.6769, allocations: 86.78 kB / 1.185 GB, free: 52 kB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.6769, allocations: 2.5 kB / 1.185 GB, free: 52 kB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.6769, allocations: 8.781 kB / 1.185 GB, free: 48 kB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.6769, allocations: 8.281 kB / 1.185 GB, free: 44 kB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6769, allocations: 2.375 kB / 1.185 GB, free: 44 kB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.6777, allocations: 0.6916 MB / 1.186 GB, free: 15.66 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.6779, allocations: 105.2 kB / 1.186 GB, free: 15.61 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.6779, allocations: 7.312 kB / 1.186 GB, free: 15.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.6782, allocations: 28.61 kB / 1.186 GB, free: 15.59 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.6782, allocations: 24.84 kB / 1.186 GB, free: 15.59 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.6782, allocations: 16.34 kB / 1.186 GB, free: 15.59 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0002938/0.6785, allocations: 334.4 kB / 1.186 GB, free: 15.43 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6785, allocations: 1.062 kB / 1.186 GB, free: 15.43 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007756/0.6793, allocations: 339.9 kB / 1.186 GB, free: 15.36 MB / 1.042 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.0003087/0.6796, allocations: 181 kB / 1.187 GB, free: 15.24 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0007284/0.6803, allocations: 0.4901 MB / 1.187 GB, free: 15.09 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6803, allocations: 5.062 kB / 1.187 GB, free: 15.08 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.6806, allocations: 178.5 kB / 1.187 GB, free: 15.02 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/0.6815, allocations: 307.4 kB / 1.188 GB, free: 14.95 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.6832, allocations: 1.227 MB / 1.189 GB, free: 14.2 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6835, allocations: 335.2 kB / 1.189 GB, free: 14.09 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.6836, allocations: 51.09 kB / 1.189 GB, free: 14.08 MB / 1.042 GB Notification: Performance of SimCode: time 1.232e-06/0.6836, allocations: 0 / 1.189 GB, free: 14.08 MB / 1.042 GB Notification: Performance of Templates: time 0.01378/0.6974, allocations: 9.746 MB / 1.199 GB, free: 10.68 MB / 1.042 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: 8.759622322395444]