Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.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.001257/0.001257, 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.001522/0.001522, 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.9731/0.9731, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.723/1.723, allocations: 359 MB / 0.6055 GB, free: 10.99 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.787 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.679e-05/3.959e-05, allocations: 3.625 kB / 0.787 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.006009/0.006048, allocations: 1.477 MB / 0.7885 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.007035, allocations: 455.7 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.007088, allocations: 0.9062 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.007124, allocations: 7.922 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.00723, allocations: 14.36 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.007424, allocations: 19.86 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.007578, allocations: 51.84 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.007697, allocations: 4 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.007828, allocations: 39.84 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.007914, allocations: 15.91 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.007942, allocations: 5.781 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.007956, allocations: 4 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.007987, allocations: 4 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.008044, allocations: 15.94 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.008203, allocations: 31.95 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.008209, allocations: 0.5938 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.256e-06/0.008213, allocations: 5.359 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.008219, allocations: 0 / 0.7891 GB, free: 10.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007085/0.008927, allocations: 410.8 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.008972, allocations: 12.03 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.009025, allocations: 9.672 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.009146, allocations: 116.6 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.009162, allocations: 5.531 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.009173, allocations: 8.312 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.009295, allocations: 79.89 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.009305, allocations: 5.547 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.009317, allocations: 4.359 kB / 0.7898 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.009327, allocations: 3.938 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.009371, allocations: 39.45 kB / 0.7898 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.009781, allocations: 263.8 kB / 0.7901 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.009862, allocations: 72.69 kB / 0.7901 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.009896, allocations: 41.39 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.009915, allocations: 5.156 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.01006, allocations: 136.5 kB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.01006, allocations: 0 / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002586/0.01032, allocations: 195.1 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.01037, allocations: 87.05 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.01045, allocations: 169.9 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.01047, allocations: 25.7 kB / 0.7907 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.01052, allocations: 138.9 kB / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.01054, allocations: 23.8 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.01058, allocations: 31.36 kB / 0.7909 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.01069, allocations: 498.7 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.01073, allocations: 41.69 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/0.01077, allocations: 72.69 kB / 0.7915 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.718e-05/0.01085, allocations: 114.5 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.01085, allocations: 0 / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001272/0.01098, allocations: 146.2 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.01101, allocations: 33.7 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-06/0.01101, allocations: 0.5312 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01103, allocations: 1.656 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.19e-05/0.01108, allocations: 15.92 kB / 0.7918 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.01109, allocations: 4 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.01113, allocations: 7.953 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.01113, allocations: 4 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 9.112e-05/0.01122, allocations: 192.3 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.01124, allocations: 15.88 kB / 0.792 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.01126, allocations: 9.281 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.01127, allocations: 4 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01127, allocations: 0 / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01128, allocations: 1.281 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.01158, allocations: 424.7 kB / 0.7925 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01159, allocations: 0 / 0.7925 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-06/0.01159, allocations: 4.781 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01159, allocations: 0 / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.0116, allocations: 4 kB / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.0116, allocations: 1.219 kB / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01161, allocations: 0 / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.01177, allocations: 311.3 kB / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.01178, allocations: 13.2 kB / 0.7928 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.0118, allocations: 4 kB / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.01186, allocations: 4 kB / 0.7928 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.0119, allocations: 17.52 kB / 0.7928 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.01192, allocations: 4 kB / 0.7928 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.01195, allocations: 127.2 kB / 0.7929 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01195, allocations: 0 / 0.7929 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000153/0.01211, allocations: 18.75 kB / 0.7929 GB, free: 6.398 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.469e-05/0.0122, allocations: 101 kB / 0.793 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.01237, allocations: 174.4 kB / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01237, allocations: 0 / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.94e-05/0.01244, allocations: 113.6 kB / 0.7933 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01266, allocations: 30.98 kB / 0.7933 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.01297, allocations: 185 kB / 0.7935 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.01301, allocations: 59.3 kB / 0.7936 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.01303, allocations: 9.828 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.01306, allocations: 12.5 kB / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.01306, allocations: 0 / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of Templates: time 0.002628/0.01569, allocations: 0.9391 MB / 0.7945 GB, free: 4.715 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Discrete_Examples_BooleanDelay.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.069245608989149]