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.001517/0.001517, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001813/0.001813, allocations: 165 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.9471/0.9471, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.766/1.766, allocations: 359 MB / 0.6052 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 1.783e-06/1.783e-06, allocations: 0 / 0.787 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.172e-05, allocations: 8.922 kB / 0.787 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003063/0.003094, allocations: 1.482 MB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008875/0.003982, allocations: 460.2 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.004024, allocations: 4 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.004062, allocations: 4.594 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.004157, allocations: 16.83 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.004338, allocations: 19.91 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.004471, allocations: 51.8 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.00456, allocations: 6 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.004675, allocations: 31.84 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.004747, allocations: 19.97 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.00477, allocations: 4 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.004784, allocations: 4 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.004809, allocations: 12.52 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.004856, allocations: 13.06 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.004987, allocations: 31.89 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.00499, allocations: 0 / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004991, allocations: 1.562 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.004996, allocations: 4 kB / 0.7891 GB, free: 10.38 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.0005948/0.005591, allocations: 415.7 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.005634, allocations: 8.031 kB / 0.7896 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.005693, allocations: 12.89 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.005809, allocations: 112.6 kB / 0.7897 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.005823, allocations: 2.219 kB / 0.7897 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.005837, allocations: 12.31 kB / 0.7897 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.005972, allocations: 75.94 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.00598, allocations: 192 / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.005992, allocations: 4.375 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.006001, allocations: 6.344 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.69e-05/0.006058, allocations: 37.69 kB / 0.7898 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.00645, allocations: 263.8 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.006551, allocations: 76.67 kB / 0.7901 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.006596, allocations: 45.38 kB / 0.7902 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.006612, allocations: 3.938 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.006777, allocations: 137.1 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.006779, allocations: 1.656 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003146/0.007094, allocations: 198.6 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.007147, allocations: 77.11 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.007252, allocations: 173.9 kB / 0.7907 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.007266, allocations: 25.7 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.007582, allocations: 132.6 kB / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.00761, allocations: 31.84 kB / 0.7909 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.007655, allocations: 27.38 kB / 0.7909 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.007788, allocations: 0.4923 MB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.007832, allocations: 34.42 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.007897, allocations: 72.69 kB / 0.7915 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.817e-05/0.007995, allocations: 115.3 kB / 0.7916 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007997, allocations: 1.938 kB / 0.7916 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001834/0.008181, allocations: 153 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.008215, allocations: 33.64 kB / 0.7918 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.008223, allocations: 4 kB / 0.7918 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.008237, allocations: 2.25 kB / 0.7918 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.008292, allocations: 4 kB / 0.7918 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.008298, allocations: 0 / 0.7918 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.008356, allocations: 15.94 kB / 0.7918 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.008365, allocations: 4 kB / 0.7918 GB, free: 7.285 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.0001085/0.008474, allocations: 193.4 kB / 0.792 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.008497, allocations: 11.94 kB / 0.792 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.008527, allocations: 12.95 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.00853, allocations: 1.656 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.008535, allocations: 0 / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.008538, allocations: 3.938 kB / 0.7921 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.008935, allocations: 416.8 kB / 0.7925 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008937, allocations: 3.938 kB / 0.7925 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-06/0.008945, allocations: 4.562 kB / 0.7925 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.00895, allocations: 9.234 kB / 0.7925 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.00896, allocations: 4 kB / 0.7925 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.008963, allocations: 0 / 0.7925 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008964, allocations: 0 / 0.7925 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.009199, allocations: 308.4 kB / 0.7928 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.009215, allocations: 11.89 kB / 0.7928 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.009239, allocations: 4.062 kB / 0.7928 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.009327, allocations: 13.36 kB / 0.7928 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.009376, allocations: 7.984 kB / 0.7928 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.009396, allocations: 4 kB / 0.7928 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.00945, allocations: 132.1 kB / 0.7929 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009451, allocations: 0 / 0.7929 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002847/0.009735, allocations: 16.84 kB / 0.793 GB, free: 6.062 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.000108/0.009843, allocations: 96.53 kB / 0.793 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.01005, allocations: 166.4 kB / 0.7932 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01005, allocations: 4 kB / 0.7932 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.01014, allocations: 113.4 kB / 0.7933 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.01047, allocations: 25.69 kB / 0.7933 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.01082, allocations: 185.3 kB / 0.7935 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01087, allocations: 63.34 kB / 0.7936 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.0109, allocations: 0 / 0.7936 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.01093, allocations: 12.5 kB / 0.7936 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.01093, allocations: 0.9375 kB / 0.7936 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of Templates: time 0.003631/0.01456, allocations: 1.003 MB / 0.7946 GB, free: 4.344 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: 4.8393485909327865]