Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 195.7 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.776/1.776, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.522/2.522, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.89 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8995/0.9011, allocations: 140.4 MB / 0.9493 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001995/0.9031, allocations: 0.8106 MB / 0.95 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.9044, allocations: 1.136 MB / 0.9512 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.9045, allocations: 1.375 kB / 0.9512 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.9046, allocations: 7.922 kB / 0.9512 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.326e-05/0.9047, allocations: 9.312 kB / 0.9512 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.9054, allocations: 126.7 kB / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.9056, allocations: 134.8 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.9057, allocations: 10.97 kB / 0.9514 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.9059, allocations: 44.12 kB / 0.9515 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.906, allocations: 46.44 kB / 0.9515 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/0.906, allocations: 14.5 kB / 0.9515 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.9061, allocations: 24.36 kB / 0.9516 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.9061, allocations: 10.67 kB / 0.9516 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.9062, allocations: 37.14 kB / 0.9516 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.9064, allocations: 121.6 kB / 0.9517 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9065, allocations: 0 / 0.9517 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9065, allocations: 0 / 0.9517 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.9065, allocations: 0 / 0.9517 GB, free: 7.219 MB / 0.7169 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.000655/0.9071, allocations: 413 kB / 0.9521 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.9072, allocations: 13.31 kB / 0.9521 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.9072, allocations: 43.98 kB / 0.9522 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.9073, allocations: 10.38 kB / 0.9522 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.9074, allocations: 172 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.9074, allocations: 3.156 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.9075, allocations: 11.38 kB / 0.9524 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.9077, allocations: 65 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.9077, allocations: 3.938 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.9077, allocations: 1.125 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.9077, allocations: 4.875 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.9079, allocations: 48.42 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.9085, allocations: 337.9 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.9087, allocations: 62.86 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/0.9088, allocations: 36.33 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.9088, allocations: 0 / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.9091, allocations: 91.92 kB / 0.953 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.9091, allocations: 4 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004304/0.9095, allocations: 132.2 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.9095, allocations: 56.53 kB / 0.9532 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.9096, allocations: 123.9 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.9097, allocations: 32.17 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.9097, allocations: 88.23 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.9097, allocations: 26.55 kB / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.9098, allocations: 42.45 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.9099, allocations: 324.2 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.9101, allocations: 48.16 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.9102, allocations: 84.09 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.9105, allocations: 140.1 kB / 0.954 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9105, allocations: 0 / 0.954 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004982/0.911, allocations: 213.7 kB / 0.9542 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.9111, allocations: 37.34 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.9111, allocations: 1.188 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.9111, allocations: 1.281 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.9113, allocations: 16.39 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.9113, allocations: 1.094 kB / 0.9543 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.9115, allocations: 40.98 kB / 0.9543 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.9116, allocations: 6.5 kB / 0.9543 GB, free: 4.793 MB / 0.7169 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.0001138/0.9117, allocations: 129.8 kB / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.9117, allocations: 3.406 kB / 0.9545 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.9118, allocations: 17.39 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9118, allocations: 1.125 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.9118, allocations: 5 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.9118, allocations: 3.984 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.9123, allocations: 387.8 kB / 0.9549 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.9123, allocations: 1.531 kB / 0.9549 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.9123, allocations: 9.297 kB / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.9124, allocations: 0 / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.9124, allocations: 1.75 kB / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9124, allocations: 0 / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9124, allocations: 5.859 kB / 0.9549 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.9127, allocations: 219.4 kB / 0.9551 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.9127, allocations: 78.98 kB / 0.9552 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.9128, allocations: 2.125 kB / 0.9552 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.9129, allocations: 6.984 kB / 0.9552 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.9129, allocations: 16.08 kB / 0.9552 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.913, allocations: 6.156 kB / 0.9552 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.913, allocations: 96.02 kB / 0.9553 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.913, allocations: 0 / 0.9553 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002761/0.9133, allocations: 20.34 kB / 0.9553 GB, free: 3.875 MB / 0.7169 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.0004532/0.9137, allocations: 0.7435 MB / 0.956 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.9141, allocations: 183.7 kB / 0.9562 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9141, allocations: 1.438 kB / 0.9562 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.9142, allocations: 34.53 kB / 0.9562 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.9145, allocations: 18.61 kB / 0.9562 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.9163, allocations: 1.713 MB / 0.9579 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.9165, allocations: 0.6851 MB / 0.9586 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.9165, allocations: 14.55 kB / 0.9586 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.9166, allocations: 20.03 kB / 0.9586 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9166, allocations: 0 / 0.9586 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.9285, allocations: 2.394 MB / 0.961 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.9287, allocations: 210 kB / 0.9612 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.86, allocations: 3.938 kB / 0.9612 GB, free: 15.3 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches