Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001177/0.001177, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.001098/0.001098, allocations: 214.8 kB / 23.02 MB, free: 2.957 MB / 13.93 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.9835/0.9835, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.089/2.089, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_13_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_13_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 71.89 kB / 1.177 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8167/0.8177, allocations: 180 MB / 1.352 GB, free: 1.695 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002247/0.8199, allocations: 1.447 MB / 1.354 GB, free: 248 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.8206, allocations: 435 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.8207, allocations: 4 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.8207, allocations: 3.938 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/0.8208, allocations: 15.86 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.821, allocations: 11.98 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.8211, allocations: 55.84 kB / 1.354 GB, free: 15.72 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.8212, allocations: 8 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.8213, allocations: 27.86 kB / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.256e-05/0.8214, allocations: 19.91 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.8214, allocations: 4 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.8214, allocations: 4 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.8214, allocations: 7.922 kB / 1.354 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.8215, allocations: 19.94 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.8216, allocations: 46.06 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8216, allocations: 0 / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8216, allocations: 4 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.8216, allocations: 0 / 1.354 GB, free: 15.59 MB / 1.042 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.0005231/0.8221, allocations: 319.8 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.8222, allocations: 12.92 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.8222, allocations: 34.73 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.8222, allocations: 12.83 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.8223, allocations: 114.4 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.8223, allocations: 4.375 kB / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.8224, allocations: 8.359 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.8225, allocations: 87.5 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8225, allocations: 0 / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.8225, allocations: 0 / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.8225, allocations: 4 kB / 1.355 GB, free: 14.92 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.618e-05/0.8226, allocations: 45.62 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.8229, allocations: 228 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.823, allocations: 68.27 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.823, allocations: 50.67 kB / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.823, allocations: 0 / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.8232, allocations: 134.8 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.8232, allocations: 0 / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0002508/0.8234, allocations: 206.7 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.8235, allocations: 81.11 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.8236, allocations: 109.8 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.8236, allocations: 29.7 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.8236, allocations: 84.14 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.8236, allocations: 15.86 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.8237, allocations: 29.7 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.8238, allocations: 322.8 kB / 1.356 GB, free: 13.37 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.8238, allocations: 41.7 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.8238, allocations: 72.2 kB / 1.356 GB, free: 13.24 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.8239, allocations: 117.9 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8239, allocations: 4.375 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001269/0.8241, allocations: 149 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.8241, allocations: 41.69 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8241, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.8241, allocations: 7.938 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.223e-05/0.8241, allocations: 0 / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8242, allocations: 8.062 kB / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.8242, allocations: 15.88 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.8242, allocations: 4 kB / 1.357 GB, free: 12.85 MB / 1.042 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.18e-05/0.8243, allocations: 154.1 kB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.8243, allocations: 4 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.8243, allocations: 8.375 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8243, allocations: 3.984 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8243, allocations: 0 / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8243, allocations: 0 / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.8247, allocations: 400.8 kB / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8247, allocations: 7.984 kB / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-06/0.8247, allocations: 0 / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8247, allocations: 0 / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.8247, allocations: 8 kB / 1.357 GB, free: 12.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.8247, allocations: 0 / 1.357 GB, free: 12.2 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8247, allocations: 3.938 kB / 1.357 GB, free: 12.2 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.8249, allocations: 254.9 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.8249, allocations: 7.953 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.8249, allocations: 7.984 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.8249, allocations: 4 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.825, allocations: 19.92 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.825, allocations: 0 / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.825, allocations: 91.81 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.825, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000162/0.8252, allocations: 12 kB / 1.358 GB, free: 11.78 MB / 1.042 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.000348/0.8256, allocations: 0.8055 MB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.8257, allocations: 163 kB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8257, allocations: 4 kB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/0.8258, allocations: 113.2 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.826, allocations: 19.94 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.827, allocations: 1.565 MB / 1.36 GB, free: 8.902 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.026e-05/0.8271, allocations: 71.33 kB / 1.36 GB, free: 8.812 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.8271, allocations: 0 / 1.36 GB, free: 8.812 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.8271, allocations: 19.44 kB / 1.36 GB, free: 8.797 MB / 1.042 GB Notification: Performance of SimCode: time 4.81e-07/0.8271, allocations: 0 / 1.36 GB, free: 8.797 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07839/0.9055, allocations: 2.501 MB / 1.363 GB, free: 6.445 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.3/8.205, allocations: 3.047 kB / 1.363 GB, free: 6.445 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu) > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu) > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.34728478640318]