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.001157/0.001157, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001167/0.001167, allocations: 161 kB / 23.82 MB, free: 0.75 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.9318/0.9318, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.789/1.789, allocations: 359 MB / 0.6052 GB, free: 10.96 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 3.567e-06/3.567e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.654e-05, allocations: 4.422 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002031/0.002067, allocations: 0.6853 MB / 0.7877 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.003712, allocations: 1.112 MB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.003746, allocations: 0 / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.003767, allocations: 3.938 kB / 0.7888 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.003813, allocations: 5.062 kB / 0.7888 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.004022, allocations: 47.7 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.078e-05/0.004083, allocations: 43.84 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.111e-05/0.004144, allocations: 8.906 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.131e-05/0.004195, allocations: 23.97 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.18e-05/0.004227, allocations: 25.31 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.004238, allocations: 4 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.891e-05/0.004277, allocations: 12 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.004291, allocations: 11.97 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.004308, allocations: 13 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.57e-05/0.004394, allocations: 51.81 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.004402, allocations: 0 / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004403, allocations: 1.562 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.004407, allocations: 0 / 0.7891 GB, free: 10.42 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.0002762/0.004683, allocations: 384.5 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.00471, allocations: 12.03 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.00478, allocations: 13.38 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.7e-05/0.004837, allocations: 114.1 kB / 0.7896 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.004843, allocations: 4.375 kB / 0.7896 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.004851, allocations: 4.375 kB / 0.7896 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.999e-05/0.004931, allocations: 62.94 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-06/0.004934, allocations: 1.094 kB / 0.7896 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.00494, allocations: 4.312 kB / 0.7896 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.004944, allocations: 1 kB / 0.7896 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.004972, allocations: 11.94 kB / 0.7897 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002432/0.005215, allocations: 273.1 kB / 0.7899 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.478e-05/0.00526, allocations: 39.05 kB / 0.79 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.005277, allocations: 13.72 kB / 0.79 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.005291, allocations: 3.938 kB / 0.79 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.00535, allocations: 61.09 kB / 0.79 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.005351, allocations: 0 / 0.79 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001131/0.005464, allocations: 57.69 kB / 0.7901 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.005488, allocations: 61.58 kB / 0.7901 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.005548, allocations: 169.9 kB / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.005557, allocations: 29.64 kB / 0.7903 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.005595, allocations: 134.8 kB / 0.7905 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.005608, allocations: 11.91 kB / 0.7905 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.005635, allocations: 27.36 kB / 0.7905 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.005728, allocations: 0.4891 MB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.005743, allocations: 4 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-05/0.005774, allocations: 47.27 kB / 0.791 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.005821, allocations: 52.34 kB / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.005822, allocations: 0 / 0.7911 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.068e-05/0.005892, allocations: 71.45 kB / 0.7911 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.005904, allocations: 13.66 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.005907, allocations: 0 / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/0.005913, allocations: 1.156 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.005969, allocations: 15.94 kB / 0.7912 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.005973, allocations: 8.391 kB / 0.7912 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.005996, allocations: 9.312 kB / 0.7912 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.006002, allocations: 4 kB / 0.7912 GB, free: 8.016 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 5.471e-05/0.006057, allocations: 162.3 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.006065, allocations: 11.89 kB / 0.7914 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.00614, allocations: 61.8 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.006141, allocations: 3.938 kB / 0.7914 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.006143, allocations: 4 kB / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006145, allocations: 0.875 kB / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.006317, allocations: 305.7 kB / 0.7917 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.006319, allocations: 5.609 kB / 0.7917 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.006345, allocations: 12 kB / 0.7917 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006346, allocations: 0 / 0.7917 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.00635, allocations: 0 / 0.7917 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006351, allocations: 1.156 kB / 0.7917 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.006354, allocations: 3.938 kB / 0.7917 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.661e-05/0.00644, allocations: 207.8 kB / 0.7919 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.006447, allocations: 7.984 kB / 0.7919 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.006458, allocations: 3.188 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.006489, allocations: 4 kB / 0.792 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.00651, allocations: 3.984 kB / 0.792 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.006514, allocations: 4 kB / 0.792 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.119e-05/0.006546, allocations: 131.2 kB / 0.7921 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006546, allocations: 0 / 0.7921 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000141/0.006687, allocations: 8 kB / 0.7921 GB, free: 7.027 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.192e-05/0.006779, allocations: 111.7 kB / 0.7922 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.95e-05/0.006848, allocations: 33.55 kB / 0.7922 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.006849, allocations: 0 / 0.7922 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.006875, allocations: 23.62 kB / 0.7923 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.007026, allocations: 14.39 kB / 0.7923 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.00736, allocations: 146.2 kB / 0.7924 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.863e-05/0.007389, allocations: 55.36 kB / 0.7925 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.007406, allocations: 4.875 kB / 0.7925 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.007426, allocations: 12.48 kB / 0.7925 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.007426, allocations: 0.8438 kB / 0.7925 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of Templates: time 0.002128/0.009554, allocations: 0.8678 MB / 0.7933 GB, free: 5.742 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: 4.768307826016098]