Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.000982/0.000982, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001103/0.001103, allocations: 168.2 kB / 24.86 MB, free: 8.879 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.9456/0.9456, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.799/1.799, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.081e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002127/0.002158, allocations: 0.6787 MB / 0.789 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003262, allocations: 1.105 MB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.003304, allocations: 0.8438 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.003331, allocations: 3.938 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.003404, allocations: 12.47 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.003667, allocations: 52.52 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.003746, allocations: 39.86 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.272e-05/0.003828, allocations: 4.5 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.024e-05/0.003899, allocations: 24.94 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.261e-05/0.003941, allocations: 23.91 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.003954, allocations: 4 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.004014, allocations: 20.86 kB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.004033, allocations: 4 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.004059, allocations: 22.94 kB / 0.7902 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.004163, allocations: 51.81 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004166, allocations: 0 / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004167, allocations: 0 / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004171, allocations: 0 / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003422/0.004513, allocations: 380.5 kB / 0.7907 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.004548, allocations: 12.03 kB / 0.7907 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.00463, allocations: 8.891 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.319e-05/0.004703, allocations: 117.7 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.004712, allocations: 384 / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.004721, allocations: 8.375 kB / 0.7908 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.176e-05/0.004813, allocations: 55.53 kB / 0.7908 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.004818, allocations: 192 / 0.7908 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.004825, allocations: 5.5 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.004829, allocations: 384 / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.402e-05/0.004853, allocations: 15.88 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.005133, allocations: 254.7 kB / 0.7911 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.005182, allocations: 35.05 kB / 0.7911 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.005198, allocations: 11.69 kB / 0.7912 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.005213, allocations: 0 / 0.7912 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/0.00528, allocations: 61.09 kB / 0.7912 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 7.02e-07/0.00528, allocations: 1.531 kB / 0.7912 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001227/0.005403, allocations: 57.62 kB / 0.7913 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.005435, allocations: 51.41 kB / 0.7913 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.005504, allocations: 165.9 kB / 0.7915 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.005517, allocations: 31.09 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.005563, allocations: 142.8 kB / 0.7916 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.005576, allocations: 7.906 kB / 0.7916 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.005609, allocations: 29.66 kB / 0.7917 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.005721, allocations: 0.4922 MB / 0.7922 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.005734, allocations: 4 kB / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.005765, allocations: 42.73 kB / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.005812, allocations: 56.17 kB / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005814, allocations: 0 / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.259e-05/0.005897, allocations: 67.72 kB / 0.7923 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.005907, allocations: 4 kB / 0.7923 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.005914, allocations: 7.922 kB / 0.7923 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.005923, allocations: 7.984 kB / 0.7923 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.005984, allocations: 8.625 kB / 0.7923 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.005988, allocations: 8.688 kB / 0.7924 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.006016, allocations: 15.92 kB / 0.7924 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.006022, allocations: 4.562 kB / 0.7924 GB, free: 7.832 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.53e-05/0.006087, allocations: 157.1 kB / 0.7925 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.006097, allocations: 11.95 kB / 0.7925 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.638e-05/0.006173, allocations: 54.47 kB / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.006176, allocations: 7.984 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.006178, allocations: 1.375 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006181, allocations: 0 / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.006546, allocations: 286 kB / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006547, allocations: 1.156 kB / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.006572, allocations: 7.984 kB / 0.7929 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006574, allocations: 3.938 kB / 0.7929 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.006581, allocations: 4.688 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006582, allocations: 0 / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006583, allocations: 0.6562 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.879e-05/0.006671, allocations: 203.8 kB / 0.7931 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-06/0.006676, allocations: 0.8438 kB / 0.7931 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.00669, allocations: 7.938 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-05/0.006721, allocations: 6.078 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.00675, allocations: 12 kB / 0.7931 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.006753, allocations: 0 / 0.7931 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.006793, allocations: 131.6 kB / 0.7932 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006793, allocations: 0 / 0.7932 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001528/0.006946, allocations: 8.719 kB / 0.7932 GB, free: 6.887 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y) * Number of discrete states: 1 (unitDelay1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.999e-05/0.007046, allocations: 109.8 kB / 0.7933 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.178e-05/0.007118, allocations: 31.61 kB / 0.7934 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007119, allocations: 0 / 0.7934 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.007144, allocations: 23.61 kB / 0.7934 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.007315, allocations: 17.83 kB / 0.7934 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.007653, allocations: 146.1 kB / 0.7936 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.072e-05/0.007684, allocations: 59.84 kB / 0.7936 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.891e-05/0.007703, allocations: 0.5 kB / 0.7936 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.007753, allocations: 75.95 kB / 0.7937 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of SimCode: time 1.734e-06/0.007755, allocations: 0 / 0.7937 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of Templates: time 0.002294/0.01005, allocations: 0.8958 MB / 0.7946 GB, free: 5.508 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_UnitDelay.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.016322632320225]