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.001035/0.001035, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001185/0.001185, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9983/0.9983, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.886/1.886, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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.966e-06/2.966e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.972e-05/4.268e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001597/0.001639, allocations: 0.671 MB / 0.7877 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.002797, allocations: 1.113 MB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.002855, allocations: 0.5 kB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.002886, allocations: 5.188 kB / 0.7888 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.355e-05/0.00296, allocations: 3.938 kB / 0.7888 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.00327, allocations: 51.7 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.546e-05/0.003365, allocations: 41.36 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.003468, allocations: 7.984 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.003554, allocations: 23.97 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.003598, allocations: 15.98 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.003616, allocations: 5.094 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/0.003685, allocations: 27.86 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.003707, allocations: 7.984 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.003738, allocations: 12.61 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.003874, allocations: 51.81 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003877, allocations: 1.406 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.003879, allocations: 0 / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.003884, allocations: 0 / 0.7891 GB, free: 10.77 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.0004638/0.004347, allocations: 377.6 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.004391, allocations: 12.03 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.004518, allocations: 16.89 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.004629, allocations: 113.6 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.004646, allocations: 384 / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.00466, allocations: 4.375 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.004828, allocations: 64.03 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.004839, allocations: 4.188 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.004852, allocations: 2.031 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.004861, allocations: 384 / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.004904, allocations: 15.92 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.005324, allocations: 271.8 kB / 0.7899 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.373e-05/0.005388, allocations: 36.59 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.00541, allocations: 7.688 kB / 0.79 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.005431, allocations: 8.031 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.861e-05/0.00552, allocations: 64.98 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.005521, allocations: 1.344 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001846/0.005705, allocations: 61.62 kB / 0.7901 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.00575, allocations: 55.41 kB / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/0.005844, allocations: 168.8 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.005859, allocations: 29.7 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.00591, allocations: 134.8 kB / 0.7905 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.005931, allocations: 19.89 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.005969, allocations: 23.38 kB / 0.7905 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.006096, allocations: 496.1 kB / 0.791 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.006121, allocations: 11.98 kB / 0.791 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.006157, allocations: 39.06 kB / 0.791 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.006446, allocations: 60.7 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.006449, allocations: 0 / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.006553, allocations: 63.53 kB / 0.7911 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.006572, allocations: 15.88 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.006577, allocations: 0 / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.006594, allocations: 1.156 kB / 0.7912 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.006691, allocations: 15.98 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.006697, allocations: 160 / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.006728, allocations: 13.12 kB / 0.7912 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.006738, allocations: 7.984 kB / 0.7912 GB, free: 8.367 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 7.654e-05/0.006815, allocations: 154.3 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.006829, allocations: 19.88 kB / 0.7914 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.00696, allocations: 62.06 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.006964, allocations: 4 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.006969, allocations: 4 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006972, allocations: 1.188 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.007218, allocations: 301.4 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.00722, allocations: 0 / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.007257, allocations: 11.38 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.007262, allocations: 7.984 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.007271, allocations: 0 / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007273, allocations: 0 / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.007275, allocations: 0 / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.007398, allocations: 211.8 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.007407, allocations: 7.984 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.007429, allocations: 0 / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.007468, allocations: 8 kB / 0.7919 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.007522, allocations: 4.578 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.007529, allocations: 0 / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.007574, allocations: 131.7 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.007574, allocations: 1.625 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001777/0.007752, allocations: 12 kB / 0.7921 GB, free: 7.379 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 0.000155/0.007907, allocations: 107.1 kB / 0.7922 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.008018, allocations: 33.42 kB / 0.7922 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.00802, allocations: 0 / 0.7922 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.008053, allocations: 23.61 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.008266, allocations: 16.72 kB / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.008778, allocations: 143.4 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.008831, allocations: 59.88 kB / 0.7925 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.008856, allocations: 1.062 kB / 0.7925 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.008884, allocations: 12.5 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of SimCode: time 1.693e-06/0.008885, allocations: 0.9375 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.003237/0.01212, allocations: 0.8136 MB / 0.7933 GB, free: 6.16 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.255497412988916]