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.0009864/0.0009864, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001044/0.001044, allocations: 159 kB / 24.86 MB, free: 8.312 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.9868/0.9868, allocations: 177.1 MB / 205.3 MB, free: 4.52 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.838/1.838, allocations: 359 MB / 0.6063 GB, free: 11.2 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 1.503e-06/1.503e-06, allocations: 0 / 0.7882 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.46e-05, allocations: 6.25 kB / 0.7883 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002662/0.002696, allocations: 1.49 MB / 0.7897 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.003451, allocations: 450.8 kB / 0.7901 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.003494, allocations: 0 / 0.7901 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.003522, allocations: 7.938 kB / 0.7901 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.952e-05/0.003611, allocations: 11.88 kB / 0.7902 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.003751, allocations: 23.91 kB / 0.7902 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.003859, allocations: 51.78 kB / 0.7902 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.003946, allocations: 8 kB / 0.7902 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.004117, allocations: 23.92 kB / 0.7903 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.004183, allocations: 23.91 kB / 0.7903 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004202, allocations: 4 kB / 0.7903 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.004211, allocations: 4 kB / 0.7903 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.004231, allocations: 3.984 kB / 0.7903 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.004263, allocations: 19.92 kB / 0.7903 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.004359, allocations: 31.95 kB / 0.7903 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.004363, allocations: 0 / 0.7903 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004364, allocations: 0 / 0.7903 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.004368, allocations: 0 / 0.7903 GB, free: 14.39 MB / 0.7605 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.0003886/0.004757, allocations: 422.2 kB / 0.7907 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.004793, allocations: 11.97 kB / 0.7908 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.004829, allocations: 12.92 kB / 0.7908 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.00493, allocations: 112.5 kB / 0.7909 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.004945, allocations: 4.375 kB / 0.7909 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.004956, allocations: 12.36 kB / 0.7909 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.046e-05/0.005046, allocations: 71.94 kB / 0.791 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.005053, allocations: 192 / 0.791 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.00506, allocations: 4.375 kB / 0.791 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005065, allocations: 3.938 kB / 0.791 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.061e-05/0.005095, allocations: 33.7 kB / 0.791 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.005361, allocations: 248.3 kB / 0.7912 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.335e-05/0.005424, allocations: 68.75 kB / 0.7913 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.005449, allocations: 41.39 kB / 0.7913 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.005462, allocations: 0 / 0.7913 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.005575, allocations: 140.6 kB / 0.7915 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=9): time 7.71e-07/0.005576, allocations: 0 / 0.7915 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of matching and sorting (n=9): time 0.0001863/0.005762, allocations: 182.7 kB / 0.7917 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.005805, allocations: 81.11 kB / 0.7917 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.005916, allocations: 178.1 kB / 0.7919 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.005928, allocations: 25.7 kB / 0.7919 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.005978, allocations: 138.8 kB / 0.7921 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.005996, allocations: 23.83 kB / 0.7921 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.006033, allocations: 31.36 kB / 0.7921 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.00615, allocations: 496.1 kB / 0.7926 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.006171, allocations: 41.69 kB / 0.7926 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.006207, allocations: 68.73 kB / 0.7927 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.85e-05/0.006265, allocations: 114.5 kB / 0.7928 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006267, allocations: 0 / 0.7928 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001014/0.006368, allocations: 149 kB / 0.7929 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.006396, allocations: 37.64 kB / 0.793 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.0064, allocations: 0 / 0.793 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.006408, allocations: 4 kB / 0.793 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.173e-05/0.00644, allocations: 8.062 kB / 0.793 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.006443, allocations: 7.922 kB / 0.793 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.006477, allocations: 4 kB / 0.793 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.006482, allocations: 4.062 kB / 0.793 GB, free: 11.34 MB / 0.7605 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 7.475e-05/0.006557, allocations: 194.2 kB / 0.7932 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.006571, allocations: 15.94 kB / 0.7932 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.006593, allocations: 16.38 kB / 0.7932 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006594, allocations: 0 / 0.7932 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.006596, allocations: 0 / 0.7932 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006599, allocations: 0 / 0.7932 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.006847, allocations: 389.4 kB / 0.7936 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.006849, allocations: 0 / 0.7936 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.006854, allocations: 4 kB / 0.7936 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006856, allocations: 3.938 kB / 0.7936 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.006863, allocations: 3.984 kB / 0.7936 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006863, allocations: 0 / 0.7936 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006864, allocations: 4 kB / 0.7936 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.006997, allocations: 303.2 kB / 0.7939 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-06/0.007007, allocations: 15.83 kB / 0.7939 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.007022, allocations: 4 kB / 0.7939 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/0.007072, allocations: 11.98 kB / 0.7939 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.007101, allocations: 11.98 kB / 0.7939 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.00711, allocations: 0 / 0.7939 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.007143, allocations: 131.2 kB / 0.7941 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.007143, allocations: 0 / 0.7941 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001409/0.007284, allocations: 16 kB / 0.7941 GB, free: 10.14 MB / 0.7605 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 8.555e-05/0.00737, allocations: 103.2 kB / 0.7942 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.007489, allocations: 162.4 kB / 0.7943 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.00749, allocations: 0 / 0.7943 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.007543, allocations: 120.8 kB / 0.7944 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.007735, allocations: 16.23 kB / 0.7945 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002149/0.00795, allocations: 187.7 kB / 0.7946 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.915e-05/0.007979, allocations: 59.34 kB / 0.7947 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.008, allocations: 7.781 kB / 0.7947 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.008059, allocations: 90.12 kB / 0.7948 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of SimCode: time 4.61e-07/0.00806, allocations: 0 / 0.7948 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of Templates: time 0.002328/0.01039, allocations: 1.044 MB / 0.7958 GB, free: 8.262 MB / 0.7605 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.280908273998648]