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.0008101/0.0008101, allocations: 80.52 kB / 19.96 MB, free: 4.602 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.0008597/0.0008597, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9025/0.9025, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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 1.8/1.8, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.864e-06/1.864e-06, allocations: 0 / 1.001 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.076e-05, allocations: 2.281 kB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001965/0.001985, allocations: 1.447 MB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.002749, allocations: 435.7 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.002795, allocations: 0 / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.002825, allocations: 7.938 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.563e-05/0.00291, allocations: 19.86 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.003069, allocations: 19.86 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.003177, allocations: 51.84 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.003264, allocations: 7.938 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.003342, allocations: 35.89 kB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.003405, allocations: 15.92 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.003425, allocations: 4 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.003434, allocations: 0 / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.003457, allocations: 8 kB / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.003503, allocations: 19.92 kB / 1.003 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.003621, allocations: 43.94 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.003625, allocations: 0 / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.134e-06/0.003627, allocations: 0 / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.003632, allocations: 0 / 1.003 GB, free: 11.47 MB / 0.9636 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.0004804/0.004112, allocations: 327.8 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.004154, allocations: 9.344 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.004184, allocations: 30.75 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.00421, allocations: 4.938 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.303e-05/0.004294, allocations: 121.7 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.004304, allocations: 12.31 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.004313, allocations: 384 / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.004421, allocations: 87.92 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.004428, allocations: 192 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.004438, allocations: 4.125 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.004442, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.004491, allocations: 45.69 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.004827, allocations: 235.9 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/0.004904, allocations: 64.28 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.004947, allocations: 58.61 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.004963, allocations: 0 / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.005142, allocations: 126.8 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.005144, allocations: 3.984 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002361/0.00538, allocations: 203 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.005421, allocations: 81.11 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.005492, allocations: 113.9 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.005503, allocations: 33.64 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.00554, allocations: 80.14 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.005558, allocations: 23.84 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.005591, allocations: 33.66 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.005668, allocations: 318.8 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.0057, allocations: 41.7 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.215e-05/0.005742, allocations: 68.27 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.005815, allocations: 113.9 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005816, allocations: 0 / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001285/0.005945, allocations: 160.9 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.005976, allocations: 31.89 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.00598, allocations: 8.062 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.005992, allocations: 0 / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.006035, allocations: 8 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.006041, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.006085, allocations: 7.984 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.006092, allocations: 8.062 kB / 1.005 GB, free: 8.734 MB / 0.9636 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.691e-05/0.006169, allocations: 150.1 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.006183, allocations: 11.89 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.006207, allocations: 12.42 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.00621, allocations: 4 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.006215, allocations: 4 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006219, allocations: 0 / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.006529, allocations: 396.9 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.006531, allocations: 0 / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-06/0.006537, allocations: 7.938 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.00654, allocations: 0 / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.006548, allocations: 4 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.00655, allocations: 0 / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006551, allocations: 0 / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.006708, allocations: 270.8 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.006717, allocations: 0 / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.006733, allocations: 12 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.618e-05/0.006799, allocations: 7.984 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.00684, allocations: 4 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.006858, allocations: 11.97 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.006891, allocations: 87.83 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006891, allocations: 0 / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001599/0.007051, allocations: 16 kB / 1.006 GB, free: 7.652 MB / 0.9636 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.0003599/0.007411, allocations: 0.7938 MB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.007583, allocations: 171 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007584, allocations: 0 / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.007649, allocations: 109.1 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.007887, allocations: 24.17 kB / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.008987, allocations: 1.573 MB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.009032, allocations: 71.33 kB / 1.009 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.009061, allocations: 7.984 kB / 1.009 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.0091, allocations: 20.62 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/0.009101, allocations: 0 / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08061/0.08971, allocations: 2.616 MB / 1.011 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.55, allocations: 2.844 kB / 1.011 GB, free: 2.184 MB / 0.9636 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: 12.033930184319615]