Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006107/0.006107, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001387/0.001387, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.747/2.747, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 64.84 kB / 0.8991 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3258, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002166/0.328, allocations: 0.8026 MB / 1.054 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3297, allocations: 1.17 MB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.3298, allocations: 4 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.789e-05/0.3298, allocations: 3.938 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.3299, allocations: 7.922 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.3305, allocations: 121.7 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3306, allocations: 103.8 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3307, allocations: 11.91 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3308, allocations: 51.89 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.3309, allocations: 35.83 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.331, allocations: 8 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.3311, allocations: 19.98 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.3311, allocations: 11.92 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.3312, allocations: 47.83 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3313, allocations: 71.84 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3313, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3313, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.3314, allocations: 0 / 1.055 GB, free: 5.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006657/0.332, allocations: 409.3 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3321, allocations: 12.03 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.3321, allocations: 8.844 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3323, allocations: 176.2 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3323, allocations: 8.375 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3323, allocations: 4.375 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.3325, allocations: 66.22 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3326, allocations: 4.125 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3326, allocations: 7.938 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3326, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.3328, allocations: 43.95 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.3333, allocations: 332.7 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3335, allocations: 62.55 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3336, allocations: 36.95 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.3336, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.3339, allocations: 99.19 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.3339, allocations: 0 / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004368/0.3344, allocations: 133.6 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3344, allocations: 51.41 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.3345, allocations: 125.7 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3346, allocations: 29.7 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.3346, allocations: 88.14 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.3347, allocations: 31.8 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.3347, allocations: 37.7 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3349, allocations: 318.8 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.335, allocations: 51.91 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.3352, allocations: 88.25 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.3355, allocations: 145.8 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3355, allocations: 0 / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004646/0.336, allocations: 215.1 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.336, allocations: 37.69 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.336, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.336, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.3361, allocations: 11.98 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3362, allocations: 4 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.3364, allocations: 47.92 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.3364, allocations: 4 kB / 1.058 GB, free: 2.859 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,edge1.y,edge1.u,$PRE.edge1.u,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.0001063/0.3365, allocations: 127.3 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.3366, allocations: 4 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.3366, allocations: 12.36 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3366, allocations: 4 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3366, allocations: 3.984 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3366, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.3371, allocations: 378.4 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3371, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.557e-05/0.3372, allocations: 11.94 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3372, allocations: 0 / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3372, allocations: 11.92 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3372, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3372, allocations: 0 / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.3375, allocations: 207.4 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.3376, allocations: 81.02 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.3376, allocations: 8 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.3377, allocations: 7.922 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.3377, allocations: 7.984 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.3377, allocations: 11.94 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.3378, allocations: 91.81 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3378, allocations: 0 / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002725/0.3381, allocations: 28 kB / 1.059 GB, free: 1.785 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001717/0.3383, allocations: 111.4 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.3386, allocations: 179.9 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3387, allocations: 0 / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3388, allocations: 39.97 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.3391, allocations: 19.33 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.3395, allocations: 202.3 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.3397, allocations: 0.6848 MB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.3398, allocations: 15.42 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of SimCode: time 1.503e-06/0.3398, allocations: 0 / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of Templates: time 0.002938/0.3427, allocations: 1.243 MB / 1.061 GB, free: 15.22 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches