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.001935/0.001935, allocations: 83.69 kB / 20.23 MB, free: 4.18 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.002053/0.002053, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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 1.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.949/2.949, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.844e-06/1.844e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.138e-05, allocations: 5.266 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002856/0.002888, allocations: 1.455 MB / 0.7877 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.003826, allocations: 464.7 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.003861, allocations: 0 / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.003886, allocations: 8.75 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.256e-05/0.003968, allocations: 7.938 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.004108, allocations: 12.95 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.004236, allocations: 59.77 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.004318, allocations: 6.906 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.004425, allocations: 39.84 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.004489, allocations: 7.984 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.00451, allocations: 4 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.004523, allocations: 7.938 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.004548, allocations: 7.984 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.004592, allocations: 15.98 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.004723, allocations: 47.81 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004725, allocations: 1.312 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004725, allocations: 0 / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.00473, allocations: 0 / 0.7884 GB, free: 10.72 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.0006995/0.005429, allocations: 419.5 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.005464, allocations: 8.031 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.005515, allocations: 13.55 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.005651, allocations: 112.6 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.005666, allocations: 5.906 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.005679, allocations: 4.375 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.005825, allocations: 75.94 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.005835, allocations: 192 / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.005854, allocations: 9.656 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005862, allocations: 3.938 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.005952, allocations: 45.69 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.006411, allocations: 270.1 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.006541, allocations: 76.75 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.725e-05/0.006608, allocations: 57.44 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.006628, allocations: 0 / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.006845, allocations: 148.4 kB / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.006846, allocations: 0 / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003851/0.007231, allocations: 211.1 kB / 0.7898 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.007318, allocations: 85.83 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.007468, allocations: 173.9 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.007493, allocations: 26.23 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.007584, allocations: 134.9 kB / 0.7902 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.007619, allocations: 33.31 kB / 0.7902 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.007671, allocations: 27.38 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002688/0.00794, allocations: 0.4923 MB / 0.7907 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.008005, allocations: 45.7 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-05/0.008094, allocations: 77.38 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.008254, allocations: 131.1 kB / 0.791 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.008261, allocations: 4.688 kB / 0.791 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.008483, allocations: 161.8 kB / 0.7911 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.008523, allocations: 33.7 kB / 0.7912 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.00853, allocations: 5.375 kB / 0.7912 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.008542, allocations: 0 / 0.7912 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.008591, allocations: 4 kB / 0.7912 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.008596, allocations: 0 / 0.7912 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.008655, allocations: 13.75 kB / 0.7912 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.008664, allocations: 4 kB / 0.7912 GB, free: 7.535 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 0.0001564/0.008821, allocations: 198.2 kB / 0.7914 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.00885, allocations: 17.09 kB / 0.7914 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.008875, allocations: 8.422 kB / 0.7914 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.008879, allocations: 4 kB / 0.7914 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.008883, allocations: 0 / 0.7914 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.008885, allocations: 0.5625 kB / 0.7914 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.009408, allocations: 437.5 kB / 0.7918 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009409, allocations: 0 / 0.7918 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-06/0.009418, allocations: 4.781 kB / 0.7918 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.009419, allocations: 0 / 0.7918 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.009434, allocations: 7.984 kB / 0.7918 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.009435, allocations: 1.781 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009436, allocations: 0 / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.009781, allocations: 323.2 kB / 0.7922 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.009796, allocations: 7.953 kB / 0.7922 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.009815, allocations: 0.8125 kB / 0.7922 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.009907, allocations: 7.984 kB / 0.7922 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.009959, allocations: 14.3 kB / 0.7922 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.009975, allocations: 4 kB / 0.7922 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.381e-05/0.01007, allocations: 131.2 kB / 0.7923 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01007, allocations: 0 / 0.7923 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002382/0.01031, allocations: 15.98 kB / 0.7923 GB, free: 6.285 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 0.000113/0.01042, allocations: 101.3 kB / 0.7924 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.01069, allocations: 186.4 kB / 0.7926 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01069, allocations: 0 / 0.7926 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.01083, allocations: 124.7 kB / 0.7927 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.01112, allocations: 17.36 kB / 0.7927 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.01152, allocations: 199.5 kB / 0.7929 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.413e-05/0.01161, allocations: 73.2 kB / 0.793 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.01163, allocations: 0 / 0.793 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.01167, allocations: 16.5 kB / 0.793 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of SimCode: time 4.4e-07/0.01167, allocations: 0.5312 kB / 0.793 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of Templates: time 0.00421/0.01588, allocations: 0.9458 MB / 0.7939 GB, free: 4.566 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.934715209994465]