Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001979/0.001979, allocations: 79.7 kB / 20.23 MB, free: 4.188 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.001842/0.001842, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.685/1.685, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 3.081/3.081, allocations: 377.8 MB / 0.6232 GB, free: 8.547 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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.693e-05/3.852e-05, allocations: 7.844 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2836/0.2837, allocations: 180.1 MB / 0.9866 GB, free: 13.51 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.2947, allocations: 4.914 MB / 0.9914 GB, free: 8.586 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.2961, allocations: 43.62 kB / 0.9915 GB, free: 8.543 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.2978, allocations: 417.2 kB / 0.9919 GB, free: 8.133 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.3029, allocations: 1.508 MB / 0.9933 GB, free: 6.617 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.3056, allocations: 0.8256 MB / 0.9941 GB, free: 5.789 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00368/0.3093, allocations: 1.909 MB / 0.996 GB, free: 3.871 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.3105, allocations: 477.3 kB / 0.9965 GB, free: 3.395 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.315, allocations: 1.359 MB / 0.9978 GB, free: 2.031 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/0.3168, allocations: 0.5094 MB / 0.9983 GB, free: 1.527 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.317, allocations: 60 kB / 0.9983 GB, free: 1.469 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.3204, allocations: 1.161 MB / 0.9995 GB, free: 312 kB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005883/0.321, allocations: 291.1 kB / 0.9998 GB, free: 20 kB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000951/0.3219, allocations: 275.4 kB / 1 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.326, allocations: 1.453 MB / 1.001 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3261, allocations: 4 kB / 1.001 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3261, allocations: 0 / 1.001 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.32e-05/0.3261, allocations: 0 / 1.001 GB, free: 14.29 MB / 0.9636 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.002878/0.329, allocations: 1.21 MB / 1.003 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.329, allocations: 11.97 kB / 1.003 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.3307, allocations: 279 kB / 1.003 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3321, allocations: 0.5746 MB / 1.003 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.3322, allocations: 44.92 kB / 1.003 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.3323, allocations: 52 kB / 1.004 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.3333, allocations: 0.5319 MB / 1.004 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.3333, allocations: 0 / 1.004 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.3334, allocations: 20 kB / 1.004 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.3334, allocations: 16.98 kB / 1.004 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.3341, allocations: 303.8 kB / 1.004 GB, free: 11.15 MB / 0.9636 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.003186/0.3373, allocations: 1.439 MB / 1.006 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.338, allocations: 278.5 kB / 1.006 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.3382, allocations: 138.8 kB / 1.006 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.3385, allocations: 44.23 kB / 1.006 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.3386, allocations: 45.67 kB / 1.006 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 2.185e-06/0.3386, allocations: 0 / 1.006 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.001191/0.3398, allocations: 425.2 kB / 1.007 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.3398, allocations: 59.34 kB / 1.007 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/0.3406, allocations: 0.5925 MB / 1.007 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.3406, allocations: 33.7 kB / 1.007 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.341, allocations: 391.2 kB / 1.008 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.3412, allocations: 127 kB / 1.008 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.3413, allocations: 87.62 kB / 1.008 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005145/0.3418, allocations: 0.582 MB / 1.009 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.3421, allocations: 88.95 kB / 1.009 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.3425, allocations: 352.5 kB / 1.009 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.343, allocations: 257.2 kB / 1.009 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.343, allocations: 0 / 1.009 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007077/0.3437, allocations: 344.9 kB / 1.009 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3437, allocations: 4 kB / 1.01 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3438, allocations: 0 / 1.01 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.3438, allocations: 4 kB / 1.01 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.3441, allocations: 67.91 kB / 1.01 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.3441, allocations: 7.984 kB / 1.01 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.3445, allocations: 23.84 kB / 1.01 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.3446, allocations: 16 kB / 1.01 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004468/0.345, allocations: 262.8 kB / 1.01 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004217/0.3454, allocations: 347.7 kB / 1.01 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000501/0.346, allocations: 254.7 kB / 1.01 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.346, allocations: 0 / 1.01 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006634/0.3466, allocations: 333 kB / 1.011 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3466, allocations: 9.875 kB / 1.011 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.3466, allocations: 96 / 1.011 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.3466, allocations: 8 kB / 1.011 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.3469, allocations: 67.91 kB / 1.011 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3469, allocations: 4 kB / 1.011 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.3473, allocations: 27.81 kB / 1.011 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.3474, allocations: 12 kB / 1.011 GB, free: 4.188 MB / 0.9636 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.0002664/0.3476, allocations: 292 kB / 1.011 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.3478, allocations: 71.62 kB / 1.011 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.3488, allocations: 318.8 kB / 1.012 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3488, allocations: 11.98 kB / 1.012 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3488, allocations: 0 / 1.012 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005637/0.3494, allocations: 336.3 kB / 1.012 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.3515, allocations: 1.051 MB / 1.013 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3515, allocations: 0 / 1.013 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.3519, allocations: 88.08 kB / 1.013 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.3519, allocations: 7.938 kB / 1.013 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.3519, allocations: 8 kB / 1.013 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.3519, allocations: 7.938 kB / 1.013 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3519, allocations: 128 / 1.013 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.353, allocations: 0.6356 MB / 1.014 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.3533, allocations: 95.52 kB / 1.014 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.431e-05/0.3534, allocations: 8 kB / 1.014 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.3538, allocations: 27.92 kB / 1.014 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.3539, allocations: 23.89 kB / 1.014 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.3539, allocations: 16 kB / 1.014 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004917/0.3544, allocations: 382.8 kB / 1.014 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.3544, allocations: 0 / 1.014 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001097/0.3555, allocations: 347.3 kB / 1.014 GB, free: 360 kB / 0.9636 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.0004427/0.356, allocations: 179.1 kB / 1.015 GB, free: 172 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.357, allocations: 409.3 kB / 1.015 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.357, allocations: 4.062 kB / 1.015 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.3573, allocations: 151.7 kB / 1.015 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.359, allocations: 338.4 kB / 1.016 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.3613, allocations: 1.135 MB / 1.017 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.3618, allocations: 328.7 kB / 1.017 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000543/0.3623, allocations: 152.7 kB / 1.017 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.3625, allocations: 52.48 kB / 1.017 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of SimCode: time 8.42e-07/0.3625, allocations: 0 / 1.017 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of Templates: time 0.02462/0.3871, allocations: 11.59 MB / 1.028 GB, free: 2.254 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_12_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_12_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.256275578052737]