Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00172/0.00172, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001915/0.001915, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.493/1.493, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 443.5 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 63.84 kB / 1.061 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 160.8 MB / 1.218 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2424/1.268, allocations: 184.2 MB / 1.398 GB, free: 14.35 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009204/1.278, allocations: 4.912 MB / 1.403 GB, free: 9.43 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009949/1.279, allocations: 43.62 kB / 1.403 GB, free: 9.387 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/1.28, allocations: 457.3 kB / 1.404 GB, free: 8.938 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00397/1.284, allocations: 1.489 MB / 1.405 GB, free: 7.445 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/1.286, allocations: 0.8155 MB / 1.406 GB, free: 6.633 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002726/1.289, allocations: 1.908 MB / 1.408 GB, free: 4.723 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008111/1.29, allocations: 467.7 kB / 1.408 GB, free: 4.258 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/1.291, allocations: 0.9184 MB / 1.409 GB, free: 3.336 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/1.293, allocations: 0.5823 MB / 1.41 GB, free: 2.754 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/1.293, allocations: 60 kB / 1.41 GB, free: 2.695 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/1.296, allocations: 1.5 MB / 1.411 GB, free: 1.191 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/1.296, allocations: 271.2 kB / 1.411 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004844/1.297, allocations: 406.1 kB / 1.412 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/1.299, allocations: 1.429 MB / 1.413 GB, free: 15.09 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.299, allocations: 0 / 1.413 GB, free: 15.09 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.703e-06/1.299, allocations: 0 / 1.413 GB, free: 15.09 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.511e-05/1.299, allocations: 0 / 1.413 GB, free: 15.09 MB / 1.123 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.001982/1.301, allocations: 1.128 MB / 1.414 GB, free: 13.91 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.301, allocations: 8.031 kB / 1.414 GB, free: 13.91 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/1.303, allocations: 211.3 kB / 1.414 GB, free: 13.7 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/1.304, allocations: 0.6206 MB / 1.415 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/1.304, allocations: 37 kB / 1.415 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/1.304, allocations: 52 kB / 1.415 GB, free: 12.95 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009576/1.305, allocations: 0.4905 MB / 1.416 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/1.305, allocations: 0 / 1.416 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/1.305, allocations: 24 kB / 1.416 GB, free: 12.43 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/1.305, allocations: 20.92 kB / 1.416 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/1.306, allocations: 439.7 kB / 1.416 GB, free: 11.98 MB / 1.123 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.003187/1.309, allocations: 2.014 MB / 1.418 GB, free: 9.789 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/1.31, allocations: 331.5 kB / 1.418 GB, free: 9.457 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/1.31, allocations: 201.9 kB / 1.419 GB, free: 9.258 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004312/1.311, allocations: 190.5 kB / 1.419 GB, free: 9.035 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/1.311, allocations: 42.78 kB / 1.419 GB, free: 8.984 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/1.311, allocations: 0 / 1.419 GB, free: 8.984 MB / 1.123 GB Notification: Performance of matching and sorting (n=33): time 0.001421/1.312, allocations: 0.5452 MB / 1.419 GB, free: 8.434 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/1.312, allocations: 63.34 kB / 1.419 GB, free: 8.359 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/1.313, allocations: 0.4991 MB / 1.42 GB, free: 7.848 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/1.313, allocations: 37.7 kB / 1.42 GB, free: 7.805 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/1.313, allocations: 304.6 kB / 1.42 GB, free: 7.504 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/1.313, allocations: 126.9 kB / 1.42 GB, free: 7.379 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/1.313, allocations: 69.98 kB / 1.42 GB, free: 7.305 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001965/1.313, allocations: 362.8 kB / 1.421 GB, free: 6.941 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/1.314, allocations: 146.1 kB / 1.421 GB, free: 6.797 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/1.314, allocations: 223.6 kB / 1.421 GB, free: 6.555 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/1.315, allocations: 341 kB / 1.421 GB, free: 6.211 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.315, allocations: 0 / 1.421 GB, free: 6.211 MB / 1.123 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007935/1.316, allocations: 433 kB / 1.422 GB, free: 5.781 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.316, allocations: 4 kB / 1.422 GB, free: 5.777 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.316, allocations: 4 kB / 1.422 GB, free: 5.773 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/1.316, allocations: 0 / 1.422 GB, free: 5.773 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/1.316, allocations: 71.89 kB / 1.422 GB, free: 5.703 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/1.316, allocations: 7.938 kB / 1.422 GB, free: 5.695 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/1.316, allocations: 39.77 kB / 1.422 GB, free: 5.656 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/1.316, allocations: 12.09 kB / 1.422 GB, free: 5.645 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005216/1.317, allocations: 308 kB / 1.422 GB, free: 5.34 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003445/1.317, allocations: 210.7 kB / 1.422 GB, free: 5.109 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005861/1.318, allocations: 331.3 kB / 1.423 GB, free: 4.773 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/1.318, allocations: 4 kB / 1.423 GB, free: 4.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007533/1.319, allocations: 420.9 kB / 1.423 GB, free: 4.352 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.319, allocations: 18.38 kB / 1.423 GB, free: 4.336 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/1.319, allocations: 0 / 1.423 GB, free: 4.336 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/1.319, allocations: 4 kB / 1.423 GB, free: 4.332 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/1.319, allocations: 71.89 kB / 1.423 GB, free: 4.262 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.319, allocations: 4 kB / 1.423 GB, free: 4.258 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/1.319, allocations: 31.81 kB / 1.423 GB, free: 4.227 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/1.319, allocations: 12 kB / 1.423 GB, free: 4.215 MB / 1.123 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.0002154/1.32, allocations: 201.5 kB / 1.424 GB, free: 4.012 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/1.32, allocations: 63.62 kB / 1.424 GB, free: 3.949 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009167/1.321, allocations: 422.9 kB / 1.424 GB, free: 3.531 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.321, allocations: 7.984 kB / 1.424 GB, free: 3.523 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.321, allocations: 3.938 kB / 1.424 GB, free: 3.52 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006977/1.321, allocations: 433.6 kB / 1.424 GB, free: 3.066 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/1.323, allocations: 1.172 MB / 1.426 GB, free: 1.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.323, allocations: 8 kB / 1.426 GB, free: 1.812 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/1.324, allocations: 88.08 kB / 1.426 GB, free: 1.727 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.324, allocations: 4 kB / 1.426 GB, free: 1.723 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/1.324, allocations: 11.98 kB / 1.426 GB, free: 1.711 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.324, allocations: 4 kB / 1.426 GB, free: 1.707 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.324, allocations: 0 / 1.426 GB, free: 1.707 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/1.325, allocations: 0.703 MB / 1.426 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/1.325, allocations: 176.7 kB / 1.427 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/1.325, allocations: 12 kB / 1.427 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/1.326, allocations: 27.97 kB / 1.427 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/1.326, allocations: 31.89 kB / 1.427 GB, free: 0.707 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/1.326, allocations: 8 kB / 1.427 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004508/1.326, allocations: 370.8 kB / 1.427 GB, free: 348 kB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.326, allocations: 0 / 1.427 GB, free: 348 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008673/1.327, allocations: 331.3 kB / 1.427 GB, free: 16 kB / 1.123 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.0004865/1.328, allocations: 197.7 kB / 1.427 GB, free: 15.82 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001058/1.329, allocations: 0.4925 MB / 1.428 GB, free: 15.33 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.329, allocations: 7.938 kB / 1.428 GB, free: 15.32 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/1.329, allocations: 176.5 kB / 1.428 GB, free: 15.15 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.331, allocations: 348.8 kB / 1.428 GB, free: 14.81 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/1.333, allocations: 1.268 MB / 1.43 GB, free: 13.49 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/1.334, allocations: 0.9295 MB / 1.431 GB, free: 12.53 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005634/1.334, allocations: 188.8 kB / 1.431 GB, free: 12.34 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/1.334, allocations: 47.44 kB / 1.431 GB, free: 12.3 MB / 1.139 GB Notification: Performance of SimCode: time 2.9e-07/1.334, allocations: 0 / 1.431 GB, free: 12.3 MB / 1.139 GB Notification: Performance of Templates: time 0.02332/1.358, allocations: 12.06 MB / 1.443 GB, free: 444 kB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_10_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.806370646692812]