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.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: 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.00169/0.00169, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002214/0.002214, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.903/2.903, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.16 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3283, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002038/0.3303, allocations: 0.8065 MB / 1.053 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3318, allocations: 1.178 MB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.3319, allocations: 0 / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.3319, allocations: 3.938 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.764e-05/0.332, allocations: 11.86 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.3326, allocations: 119 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3327, allocations: 103.8 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.3329, allocations: 11.91 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.333, allocations: 47.83 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3331, allocations: 39.83 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.3332, allocations: 8 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.329e-05/0.3333, allocations: 19.98 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.3333, allocations: 7.984 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.3334, allocations: 39.84 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.3336, allocations: 115.7 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3337, allocations: 0 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3337, allocations: 0 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3337, allocations: 0 / 1.055 GB, free: 6.336 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.0008013/0.3345, allocations: 405.3 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.3345, allocations: 8.031 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.334e-05/0.3346, allocations: 12.84 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.3348, allocations: 168.3 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.3349, allocations: 12.36 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3349, allocations: 8.375 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.3351, allocations: 62.17 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3352, allocations: 4.188 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.3352, allocations: 15.91 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3352, allocations: 0 / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.3354, allocations: 39.97 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.336, allocations: 332.7 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.3362, allocations: 62.48 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3363, allocations: 36.95 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.3364, allocations: 8 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.3367, allocations: 87.27 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.3367, allocations: 3.938 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004673/0.3371, allocations: 141.8 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3372, allocations: 59.41 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3373, allocations: 125.7 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.3374, allocations: 33.7 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.3374, allocations: 88.14 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3375, allocations: 15.81 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.3375, allocations: 41.69 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3377, allocations: 314.8 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.3378, allocations: 55.95 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.338, allocations: 84.25 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.3383, allocations: 149.9 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3383, allocations: 0 / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004591/0.3388, allocations: 211.1 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.3388, allocations: 33.7 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3389, allocations: 3.984 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3389, allocations: 8.125 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.339, allocations: 11.94 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.339, allocations: 3.984 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.3392, allocations: 39.81 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.3393, allocations: 11.98 kB / 1.057 GB, free: 3.41 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.000102/0.3394, allocations: 124.7 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.3394, allocations: 8 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.3394, allocations: 8.375 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3394, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3394, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3394, allocations: 3.984 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.3399, allocations: 382.3 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3399, allocations: 3.938 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.34, allocations: 11.98 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.34, allocations: 0 / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.34, allocations: 4 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.34, allocations: 0 / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.34, allocations: 0 / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.3403, allocations: 203.4 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.3404, allocations: 100.9 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3404, allocations: 4 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.3405, allocations: 4 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3406, allocations: 7.984 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.3406, allocations: 3.938 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.87e-05/0.3406, allocations: 95.27 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3406, allocations: 0 / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002692/0.3409, allocations: 28 kB / 1.058 GB, free: 2.34 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.0001738/0.3411, allocations: 107.2 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.3415, allocations: 175.3 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3415, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3417, allocations: 39.92 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.342, allocations: 16.23 kB / 1.058 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.3423, allocations: 176.4 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.3426, allocations: 0.6887 MB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.3426, allocations: 8 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.3427, allocations: 15.42 kB / 1.059 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3427, allocations: 0 / 1.059 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of Templates: time 0.00385/0.3465, allocations: 1.322 MB / 1.061 GB, free: 15.75 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/jenkins/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