Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008435/0.0008435, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0009079/0.0009079, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8979/0.8979, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.744/1.744, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.325e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001954/0.001977, allocations: 1.435 MB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006359/0.002613, allocations: 439.7 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.002657, allocations: 7.875 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.002686, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.002772, allocations: 11.86 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.002948, allocations: 23.86 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.003079, allocations: 47.84 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.003176, allocations: 11.98 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.00326, allocations: 27.92 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.00333, allocations: 19.92 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.003352, allocations: 4 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.003363, allocations: 4 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.00339, allocations: 7.969 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.003432, allocations: 15.94 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.003554, allocations: 47.86 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003556, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003557, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003561, allocations: 0 / 1.002 GB, free: 11.43 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.0005178/0.004079, allocations: 323.9 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.004125, allocations: 16.69 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.004158, allocations: 34.69 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.004187, allocations: 4.938 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.00429, allocations: 125.7 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.004302, allocations: 384 / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.004313, allocations: 4.375 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.004437, allocations: 79.94 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.004445, allocations: 192 / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004455, allocations: 8.109 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004459, allocations: 4 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/0.004511, allocations: 49.69 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.004834, allocations: 231.9 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.953e-05/0.004913, allocations: 72.27 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.004946, allocations: 46.62 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.004963, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.005116, allocations: 138.8 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.005117, allocations: 0 / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002326/0.005349, allocations: 198.7 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.005391, allocations: 85.09 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.936e-05/0.005451, allocations: 117.8 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005462, allocations: 25.7 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.005501, allocations: 92.09 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.005516, allocations: 11.91 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.005546, allocations: 29.7 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.005624, allocations: 314.8 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/0.005658, allocations: 49.69 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.005701, allocations: 64.27 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.005779, allocations: 117.9 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005781, allocations: 4 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00013/0.005911, allocations: 160.9 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.00594, allocations: 33.7 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.005946, allocations: 0 / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.005957, allocations: 0 / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.891e-05/0.005996, allocations: 11.92 kB / 1.004 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.006002, allocations: 4 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.006044, allocations: 4 kB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.00605, allocations: 4 kB / 1.004 GB, free: 8.695 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 8.54e-05/0.006135, allocations: 163.5 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-06/0.006145, allocations: 7.891 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.006165, allocations: 8.438 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006167, allocations: 0 / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006171, allocations: 0 / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.006175, allocations: 0 / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.006468, allocations: 400.9 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006469, allocations: 0 / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-06/0.006473, allocations: 0 / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.006474, allocations: 0 / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.006482, allocations: 8 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.006485, allocations: 3.984 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006485, allocations: 384 / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.006632, allocations: 266.7 kB / 1.005 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.006641, allocations: 4 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.006654, allocations: 0 / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.00671, allocations: 11.98 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.006753, allocations: 11.98 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.006765, allocations: 0 / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.006806, allocations: 87.28 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.006806, allocations: 0 / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001588/0.006964, allocations: 19.98 kB / 1.005 GB, free: 7.617 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.0003144/0.007279, allocations: 0.7938 MB / 1.006 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.007429, allocations: 174.8 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007431, allocations: 0 / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.007491, allocations: 110 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.007694, allocations: 19.77 kB / 1.006 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.008642, allocations: 1.585 MB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.667e-05/0.008689, allocations: 71.33 kB / 1.008 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.008714, allocations: 4 kB / 1.008 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.008757, allocations: 20.5 kB / 1.008 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.008757, allocations: 0 / 1.008 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.0221, allocations: 2.618 MB / 1.01 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/6.723, allocations: 7.812 kB / 1.01 GB, free: 2.133 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable del.u in file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv. Warning: Get data of variable del.u from file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv failed! Error: Could not read variable del.y in file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv. Warning: Get data of variable del.y from file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.841307412832975]