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.006835/0.006834, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001504/0.001504, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.494/2.494, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.09 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3181, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002353/0.3205, allocations: 0.7513 MB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3222, allocations: 1.137 MB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.3223, allocations: 4 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.3224, allocations: 11.86 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.3225, allocations: 19.86 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.3231, allocations: 130.8 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3233, allocations: 119.8 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3234, allocations: 19.98 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3235, allocations: 47.89 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.3237, allocations: 43.83 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.3237, allocations: 15.94 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.3238, allocations: 27.92 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.3238, allocations: 15.97 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.3239, allocations: 47.78 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.3242, allocations: 108 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.818e-05/0.3242, allocations: 0 / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3242, allocations: 7.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.3242, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 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.0007694/0.325, allocations: 416.9 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.325, allocations: 8.031 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.3251, allocations: 34.75 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.3252, allocations: 12.89 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.3253, allocations: 180.2 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.3254, allocations: 4.312 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.3254, allocations: 12.38 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.3256, allocations: 66.22 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3257, allocations: 3.938 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3257, allocations: 4 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3257, allocations: 0 / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.3259, allocations: 47.94 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.3265, allocations: 336.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3267, allocations: 58.61 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3268, allocations: 24.97 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3268, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.3272, allocations: 103.3 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.3272, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004709/0.3277, allocations: 133.6 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.3277, allocations: 55.41 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.3278, allocations: 117.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.3279, allocations: 33.7 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.328, allocations: 96.12 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.328, allocations: 27.78 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/0.3281, allocations: 37.7 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3283, allocations: 322.7 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.3284, allocations: 55.95 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.3286, allocations: 88.2 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.3289, allocations: 141.9 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3289, allocations: 4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004561/0.3294, allocations: 195.2 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.3295, allocations: 39.42 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3295, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3295, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.3296, allocations: 19.86 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3296, allocations: 0 / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3298, allocations: 44.03 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.3299, allocations: 8 kB / 1.093 GB, free: 12.51 MB / 0.8575 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.0001071/0.33, allocations: 121.8 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.33, allocations: 11.94 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.33, allocations: 8.375 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.33, allocations: 7.922 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3301, allocations: 4 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3301, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.3305, allocations: 374.5 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3306, allocations: 64 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.3306, allocations: 15.98 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3306, allocations: 7.938 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3306, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3306, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3307, allocations: 7.938 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.331, allocations: 199.5 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.331, allocations: 89 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3311, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.3311, allocations: 7.984 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.3312, allocations: 11.92 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.3312, allocations: 8 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.3313, allocations: 95.75 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3313, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002723/0.3316, allocations: 24 kB / 1.094 GB, free: 11.43 MB / 0.8575 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.0006716/0.3322, allocations: 0.7558 MB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004065/0.3327, allocations: 171.3 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3327, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3328, allocations: 43.91 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3331, allocations: 20.5 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.3352, allocations: 1.689 MB / 1.096 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3355, allocations: 0.6898 MB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.221e-05/0.3355, allocations: 11.92 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.3356, allocations: 19.44 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3356, allocations: 4 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.357, allocations: 2.574 MB / 1.099 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.074, allocations: 0 / 1.099 GB, free: 5.391 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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