Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001237/0.001237, allocations: 106.2 kB / 16.45 MB, free: 6.453 MB / 14.72 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.001392/0.001392, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7672 GB, free: 5.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 75.89 kB / 1.112 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.851, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002009/0.853, allocations: 0.7598 MB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.8545, allocations: 1.184 MB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.8546, allocations: 0 / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.8546, allocations: 7.922 kB / 1.28 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.8547, allocations: 19.86 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.8552, allocations: 132.8 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.8553, allocations: 115.8 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.8554, allocations: 15.97 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.8555, allocations: 43.91 kB / 1.28 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.518e-05/0.8556, allocations: 47.77 kB / 1.281 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.8556, allocations: 15.98 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-05/0.8557, allocations: 27.98 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.8557, allocations: 15.92 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.8558, allocations: 43.84 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.856, allocations: 113.4 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.856, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.856, allocations: 4 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.856, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006058/0.8566, allocations: 420.9 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.8566, allocations: 8.031 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.8567, allocations: 30.75 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.8567, allocations: 12.89 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.8568, allocations: 172.3 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.8568, allocations: 12.36 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.8569, allocations: 8.375 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.8571, allocations: 66.22 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8571, allocations: 7.875 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.8571, allocations: 0 / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.8571, allocations: 4 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.8573, allocations: 43.95 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.8578, allocations: 340.6 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.858, allocations: 54.55 kB / 1.282 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.8581, allocations: 29.03 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.8581, allocations: 0 / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.8584, allocations: 99.31 kB / 1.282 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.8584, allocations: 0 / 1.282 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.000462/0.8589, allocations: 145.5 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.8589, allocations: 55.41 kB / 1.282 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.859, allocations: 117.8 kB / 1.282 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.859, allocations: 25.7 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.8591, allocations: 100.1 kB / 1.282 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.8591, allocations: 23.84 kB / 1.282 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.8592, allocations: 37.7 kB / 1.282 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8594, allocations: 322.8 kB / 1.283 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.8595, allocations: 51.95 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.8597, allocations: 88.2 kB / 1.283 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.86, allocations: 141.9 kB / 1.283 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.86, allocations: 4 kB / 1.283 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004778/0.8605, allocations: 207.2 kB / 1.283 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.8605, allocations: 41.64 kB / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8605, allocations: 0 / 1.283 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8606, allocations: 4 kB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.435e-05/0.8607, allocations: 11.98 kB / 1.283 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.8607, allocations: 64 / 1.283 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.8609, allocations: 44.02 kB / 1.283 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.8609, allocations: 12 kB / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001167/0.861, allocations: 129.7 kB / 1.283 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.861, allocations: 7.938 kB / 1.284 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.8611, allocations: 12.38 kB / 1.284 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.8611, allocations: 0 / 1.284 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8611, allocations: 0 / 1.284 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.8611, allocations: 4 kB / 1.284 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.8616, allocations: 374.5 kB / 1.284 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8616, allocations: 0 / 1.284 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.8616, allocations: 11.92 kB / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8617, allocations: 0 / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.8617, allocations: 0 / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8617, allocations: 4 kB / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.8617, allocations: 11.88 kB / 1.284 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.862, allocations: 203.5 kB / 1.284 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.862, allocations: 85.06 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.8621, allocations: 3.938 kB / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.8621, allocations: 11.98 kB / 1.284 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.8622, allocations: 11.92 kB / 1.284 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.8622, allocations: 4 kB / 1.284 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.8623, allocations: 91.27 kB / 1.284 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8623, allocations: 0 / 1.284 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002619/0.8625, allocations: 31.94 kB / 1.284 GB, free: 6.828 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0006975/0.8632, allocations: 0.748 MB / 1.285 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.8636, allocations: 159.8 kB / 1.285 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8636, allocations: 0 / 1.285 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.8637, allocations: 35.91 kB / 1.285 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.864, allocations: 26.52 kB / 1.285 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.8663, allocations: 1.696 MB / 1.287 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.8666, allocations: 0.6923 MB / 1.288 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.8666, allocations: 7.984 kB / 1.288 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.8666, allocations: 19.44 kB / 1.288 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.8666, allocations: 8 kB / 1.288 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.8924, allocations: 2.578 MB / 1.29 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/9.17, allocations: 8.625 kB / 1.29 GB, free: 0.793 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable falEdg.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv. Warning: Get data of variable falEdg.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv failed! Error: Could not read variable falEdg.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv. Warning: Get data of variable falEdg.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.33752195793204]