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.001889/0.001889, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002484/0.002484, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.658/1.658, allocations: 230.6 MB / 256 MB, free: 7.777 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.746/2.746, allocations: 476 MB / 0.7699 GB, free: 4.742 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.002125/0.002125, allocations: 64.23 kB / 1.117 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3987, allocations: 169.9 MB / 1.283 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002423/0.4011, allocations: 0.7386 MB / 1.283 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.4031, allocations: 1.172 MB / 1.284 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.4032, allocations: 4 kB / 1.284 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.4032, allocations: 3.938 kB / 1.284 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.4033, allocations: 7.875 kB / 1.284 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.4039, allocations: 133.7 kB / 1.285 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.4041, allocations: 127.7 kB / 1.285 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4042, allocations: 12 kB / 1.285 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.4044, allocations: 47.84 kB / 1.285 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.4045, allocations: 43.86 kB / 1.285 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.4045, allocations: 12 kB / 1.285 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.4046, allocations: 23.98 kB / 1.285 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.4046, allocations: 7.938 kB / 1.285 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.4047, allocations: 43.83 kB / 1.285 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.4049, allocations: 111.9 kB / 1.285 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4049, allocations: 3.938 kB / 1.285 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4049, allocations: 0 / 1.285 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.405, allocations: 0 / 1.285 GB, free: 1.738 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.0006974/0.4057, allocations: 343.8 kB / 1.285 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4057, allocations: 8.031 kB / 1.285 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.4057, allocations: 38.73 kB / 1.285 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.4058, allocations: 12.89 kB / 1.285 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.4059, allocations: 114.4 kB / 1.285 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4059, allocations: 4.375 kB / 1.285 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.406, allocations: 8.375 kB / 1.286 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.4062, allocations: 66.22 kB / 1.286 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4062, allocations: 7.875 kB / 1.286 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4062, allocations: 8 kB / 1.286 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4062, allocations: 0 / 1.286 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.4064, allocations: 43.95 kB / 1.286 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.407, allocations: 283.9 kB / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.4072, allocations: 58.55 kB / 1.286 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4073, allocations: 28.95 kB / 1.286 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.4074, allocations: 4 kB / 1.286 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/0.4077, allocations: 91.31 kB / 1.286 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.4077, allocations: 0 / 1.286 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004841/0.4081, allocations: 141.6 kB / 1.286 GB, free: 360 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.4082, allocations: 55.41 kB / 1.286 GB, free: 292 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.4083, allocations: 121.8 kB / 1.286 GB, free: 160 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.4084, allocations: 29.7 kB / 1.286 GB, free: 124 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.4084, allocations: 96.14 kB / 1.286 GB, free: 24 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.4085, allocations: 23.78 kB / 1.287 GB, free: 0 / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.4086, allocations: 41.64 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4088, allocations: 326.8 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.409, allocations: 81.67 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.4092, allocations: 114 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.4095, allocations: 145.9 kB / 1.287 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4095, allocations: 0 / 1.287 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005383/0.41, allocations: 248.8 kB / 1.287 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.4101, allocations: 37.69 kB / 1.287 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4101, allocations: 4 kB / 1.287 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4101, allocations: 4.125 kB / 1.287 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.4102, allocations: 8 kB / 1.287 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4102, allocations: 12.23 kB / 1.287 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.4104, allocations: 27.97 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.4105, allocations: 11.98 kB / 1.288 GB, free: 14.87 MB / 0.9981 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.0001227/0.4106, allocations: 121.8 kB / 1.288 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.4106, allocations: 7.953 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.4106, allocations: 12.38 kB / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4106, allocations: 4.062 kB / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4107, allocations: 4 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4107, allocations: 0 / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.4112, allocations: 349.4 kB / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4112, allocations: 4 kB / 1.288 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.4113, allocations: 7.984 kB / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4113, allocations: 0 / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4113, allocations: 4 kB / 1.288 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4113, allocations: 4 kB / 1.288 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4113, allocations: 3.938 kB / 1.288 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.4117, allocations: 207.4 kB / 1.288 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.4117, allocations: 11.94 kB / 1.288 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4117, allocations: 0 / 1.288 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.4118, allocations: 11.98 kB / 1.288 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.4118, allocations: 11.92 kB / 1.288 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.4119, allocations: 7.938 kB / 1.288 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.37e-05/0.4119, allocations: 95.27 kB / 1.288 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4119, allocations: 0 / 1.288 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002783/0.4122, allocations: 24 kB / 1.288 GB, free: 13.92 MB / 0.9981 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.0007294/0.4129, allocations: 0.7416 MB / 1.289 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.4134, allocations: 197.1 kB / 1.289 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4134, allocations: 4.062 kB / 1.289 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.4135, allocations: 31.97 kB / 1.289 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.4138, allocations: 16.81 kB / 1.289 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.4163, allocations: 1.817 MB / 1.291 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.877e-05/0.4164, allocations: 79.27 kB / 1.291 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.4165, allocations: 4 kB / 1.291 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.4165, allocations: 23.42 kB / 1.291 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.4165, allocations: 0 / 1.291 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.4511, allocations: 3.233 MB / 1.294 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.75, allocations: 4.484 kB / 1.294 GB, free: 7.746 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.540551125071943]