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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 200.9 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002962/0.002962, allocations: 59.91 kB / 1.109 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9217/0.9247, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002904/0.9276, allocations: 1.441 MB / 1.275 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.9284, allocations: 448.4 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.9285, allocations: 0 / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.9285, allocations: 4 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.9286, allocations: 19.78 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.9287, allocations: 19.98 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.9289, allocations: 43.86 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.929, allocations: 11.98 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.929, allocations: 19.88 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.9291, allocations: 15.92 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.9291, allocations: 4 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.9291, allocations: 4 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.9292, allocations: 19.91 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.9292, allocations: 23.92 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.9293, allocations: 46.44 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9293, allocations: 0 / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9293, allocations: 0 / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.9293, allocations: 0 / 1.276 GB, free: 2.469 MB / 0.9669 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.0007007/0.93, allocations: 403.4 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.9301, allocations: 8.031 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.9301, allocations: 8.891 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.9303, allocations: 168.4 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.9303, allocations: 384 / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.9303, allocations: 4.375 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.9304, allocations: 57.98 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.9304, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.9305, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.9305, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.9305, allocations: 23.92 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.931, allocations: 280.7 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.176e-05/0.9311, allocations: 38.56 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.9311, allocations: 16.98 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.9311, allocations: 0 / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.9313, allocations: 101 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.9313, allocations: 0 / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003236/0.9317, allocations: 151.6 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.9317, allocations: 81.11 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.9318, allocations: 109.8 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.9318, allocations: 29.64 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.9319, allocations: 88.14 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.9319, allocations: 15.91 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.932, allocations: 25.7 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.9321, allocations: 322.8 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/0.9322, allocations: 19.94 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.9322, allocations: 38.56 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.9323, allocations: 109.9 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9323, allocations: 0 / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001736/0.9325, allocations: 131.4 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.9325, allocations: 37.81 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9325, allocations: 4 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.9326, allocations: 7.938 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.9326, allocations: 0 / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.9326, allocations: 4 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.9327, allocations: 11.94 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.9327, allocations: 4 kB / 1.278 GB, free: 15.93 MB / 0.9825 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.000122/0.9328, allocations: 155.4 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.9328, allocations: 4 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.9329, allocations: 12.38 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9329, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9329, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9329, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.9333, allocations: 404.1 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9333, allocations: 0 / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-06/0.9333, allocations: 4 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9333, allocations: 0 / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.9333, allocations: 7.984 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.9333, allocations: 4 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9333, allocations: 4 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.9336, allocations: 233.1 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.9336, allocations: 85 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.9336, allocations: 4 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.9337, allocations: 11.98 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.9338, allocations: 7.938 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.9338, allocations: 11.92 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.9339, allocations: 91.73 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9339, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002438/0.9341, allocations: 16 kB / 1.279 GB, free: 14.77 MB / 0.9825 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.0001196/0.9342, allocations: 105.6 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.9344, allocations: 103.3 kB / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.9344, allocations: 4 kB / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.9345, allocations: 83.33 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.9348, allocations: 20.22 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.9352, allocations: 153.4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.9355, allocations: 0.6884 MB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.9355, allocations: 4 kB / 1.28 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.9356, allocations: 11.44 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.9356, allocations: 0 / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.003718/0.9393, allocations: 0.8907 MB / 1.281 GB, free: 12.64 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.85960927279666]