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.0007994/0.0007994, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009379/0.0009379, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8942/0.8942, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.647/1.647, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 4.107e-06/4.107e-06, allocations: 0 / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.591e-05/4.002e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001877/0.001917, allocations: 0.7364 MB / 0.9512 GB, free: 2.711 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003292, allocations: 1.175 MB / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.003351, allocations: 0 / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.003383, allocations: 7.938 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.135e-05/0.003465, allocations: 15.86 kB / 0.9524 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.003987, allocations: 130.8 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004144, allocations: 123.7 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.00425, allocations: 11.98 kB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.004365, allocations: 67.88 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.004448, allocations: 43.86 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.00447, allocations: 8 kB / 0.9528 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.846e-05/0.004529, allocations: 24 kB / 0.9528 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.00455, allocations: 7.984 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.004599, allocations: 39.89 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.004778, allocations: 131.7 kB / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.00478, allocations: 0 / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.633e-06/0.004782, allocations: 0 / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.004787, allocations: 0 / 0.953 GB, free: 0.9258 MB / 0.9011 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.0004717/0.005258, allocations: 343.7 kB / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.005297, allocations: 12.03 kB / 0.9533 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.005327, allocations: 34.75 kB / 0.9533 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.005371, allocations: 8.938 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.005455, allocations: 121.7 kB / 0.9535 GB, free: 352 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.005468, allocations: 4.375 kB / 0.9535 GB, free: 348 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.005486, allocations: 12.38 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.005638, allocations: 66.22 kB / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.005645, allocations: 192 / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.005655, allocations: 384 / 0.9535 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.005661, allocations: 4.125 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.005761, allocations: 47.95 kB / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.006282, allocations: 287.8 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.006433, allocations: 54.61 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.006485, allocations: 32.91 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.006496, allocations: 0 / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.00669, allocations: 91.36 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.006691, allocations: 4 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002827/0.006974, allocations: 141.6 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.00701, allocations: 55.39 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.007086, allocations: 121.8 kB / 0.9543 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.007109, allocations: 29.7 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.007159, allocations: 96.08 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.007175, allocations: 11.91 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.007227, allocations: 41.64 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.007308, allocations: 326.8 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.007425, allocations: 85.66 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.007537, allocations: 118 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.007697, allocations: 146.2 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.007699, allocations: 4 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002764/0.007975, allocations: 240.8 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.008019, allocations: 41.69 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.008025, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.008046, allocations: 4 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.00811, allocations: 11.98 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.008115, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.008229, allocations: 43.97 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.008244, allocations: 12 kB / 0.9555 GB, free: 14.05 MB / 0.9167 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 7.641e-05/0.008321, allocations: 124 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.008331, allocations: 3.938 kB / 0.9556 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.008358, allocations: 16.42 kB / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008361, allocations: 0 / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.008365, allocations: 3.938 kB / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008369, allocations: 0 / 0.9556 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.008684, allocations: 349.5 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.008685, allocations: 0 / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.008713, allocations: 7.984 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.008715, allocations: 4 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.008723, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008725, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008726, allocations: 0 / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.008887, allocations: 219.3 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.008897, allocations: 11.92 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.00891, allocations: 4 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.008955, allocations: 4 kB / 0.9562 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.008995, allocations: 7.984 kB / 0.9562 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.009002, allocations: 4 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.009038, allocations: 95.75 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009038, allocations: 0 / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001803/0.009218, allocations: 23.94 kB / 0.9563 GB, free: 13.12 MB / 0.9167 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.0004125/0.009631, allocations: 0.7514 MB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.009887, allocations: 193 kB / 0.9573 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009888, allocations: 0 / 0.9573 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.009956, allocations: 35.91 kB / 0.9573 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.01017, allocations: 27.09 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.01158, allocations: 1.814 MB / 0.9591 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.01163, allocations: 79.27 kB / 0.9592 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.01167, allocations: 4 kB / 0.9592 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.01171, allocations: 24.48 kB / 0.9592 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of SimCode: time 7.52e-07/0.01171, allocations: 3.938 kB / 0.9592 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.02859, allocations: 3.36 MB / 0.9625 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/6.969, allocations: 4.938 kB / 0.9625 GB, free: 6.797 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.961353118531406]