Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_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.001713/0.001713, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001826, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.456/2.456, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 74.25 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3306, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002357/0.333, allocations: 0.7396 MB / 1.054 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3346, allocations: 1.162 MB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.3347, allocations: 3.938 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.3347, allocations: 7.938 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.3348, allocations: 15.86 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.3353, allocations: 130.8 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3355, allocations: 123.8 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.3356, allocations: 8 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3357, allocations: 51.89 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.89e-05/0.3358, allocations: 43.77 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.3358, allocations: 12 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.325e-05/0.3359, allocations: 23.98 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.3359, allocations: 15.92 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.336, allocations: 43.83 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3362, allocations: 115.7 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3362, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3362, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3362, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 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.0006206/0.3368, allocations: 413.2 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3369, allocations: 8.625 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.337, allocations: 42.67 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.337, allocations: 8.938 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3371, allocations: 168.3 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3372, allocations: 8.375 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.3372, allocations: 8.375 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.3374, allocations: 66.22 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3374, allocations: 3.938 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3374, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3374, allocations: 7.938 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.3376, allocations: 47.94 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.3382, allocations: 344.6 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3384, allocations: 54.56 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3385, allocations: 36.95 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3385, allocations: 4 kB / 1.057 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.3388, allocations: 87.36 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3388, allocations: 0 / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004641/0.3393, allocations: 145.5 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3393, allocations: 59.41 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.3394, allocations: 117.8 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3395, allocations: 33.7 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.3396, allocations: 88.14 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.3396, allocations: 23.7 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.3397, allocations: 37.7 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3398, allocations: 322.8 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.34, allocations: 51.97 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.3401, allocations: 84.25 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.3404, allocations: 145.8 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3404, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004603/0.3409, allocations: 207.2 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.341, allocations: 37.69 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.341, allocations: 4 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.341, allocations: 8.062 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.3411, allocations: 15.98 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3411, allocations: 7.938 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.3413, allocations: 39.8 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3414, allocations: 4 kB / 1.058 GB, free: 2.781 MB / 0.8106 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.0001084/0.3415, allocations: 134.8 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.3415, allocations: 11.91 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.3415, allocations: 12.36 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3415, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3416, allocations: 4 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3416, allocations: 0 / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.3421, allocations: 374.4 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3421, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.3421, allocations: 15.98 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3421, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.3422, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3422, allocations: 0 / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3422, allocations: 3.938 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.3425, allocations: 211.3 kB / 1.059 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.3426, allocations: 85.02 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3426, allocations: 0 / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.3427, allocations: 7.984 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3427, allocations: 15.92 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3428, allocations: 4 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.3428, allocations: 95.75 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3428, allocations: 0 / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002663/0.3431, allocations: 24 kB / 1.059 GB, free: 1.703 MB / 0.8106 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.0007446/0.3438, allocations: 0.7514 MB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003937/0.3442, allocations: 175.9 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3443, allocations: 4.25 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.3444, allocations: 39.97 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.3447, allocations: 25.28 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.3469, allocations: 1.691 MB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3472, allocations: 0.6846 MB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.3472, allocations: 7.984 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.3472, allocations: 19.44 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3473, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05766/0.4049, allocations: 2.527 MB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.824, allocations: 4.062 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches