Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001708/0.001708, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001729/0.001729, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.488/1.488, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 437.1 MB / 0.711 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002567/0.002568, allocations: 68.31 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3495, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002104/0.3517, allocations: 0.7377 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3532, allocations: 1.149 MB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.3532, allocations: 7.938 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.3533, allocations: 3.938 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.3533, allocations: 15.84 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.3538, allocations: 133.6 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.354, allocations: 119.8 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.3541, allocations: 23.88 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.3542, allocations: 47.89 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/0.3543, allocations: 39.83 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.3543, allocations: 12 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.3544, allocations: 27.92 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.3544, allocations: 15.98 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.3545, allocations: 43.84 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3547, allocations: 107.7 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3547, allocations: 0 / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3547, allocations: 0 / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3547, allocations: 0 / 1.02 GB, free: 8.113 MB / 0.795 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.0006139/0.3553, allocations: 413.2 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3554, allocations: 12.03 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.3554, allocations: 8.844 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3556, allocations: 176.3 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3556, allocations: 8.359 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.3556, allocations: 4.375 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3558, allocations: 62.23 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3559, allocations: 192 / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3559, allocations: 7.922 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3559, allocations: 4 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.3561, allocations: 43.95 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.3566, allocations: 336.7 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.3568, allocations: 58.55 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3569, allocations: 40.95 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.3569, allocations: 0 / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.3572, allocations: 99.12 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3572, allocations: 0 / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004594/0.3576, allocations: 145.7 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3577, allocations: 51.41 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3578, allocations: 121.8 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.3578, allocations: 33.69 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.3579, allocations: 88.14 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.3579, allocations: 19.75 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.358, allocations: 41.69 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3582, allocations: 318.8 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.3584, allocations: 51.95 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.3586, allocations: 84.25 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.3589, allocations: 149.8 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3589, allocations: 0 / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004652/0.3593, allocations: 215.1 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.3594, allocations: 33.7 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3594, allocations: 4.125 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3594, allocations: 3.984 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.3595, allocations: 8 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3595, allocations: 4 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.3598, allocations: 47.73 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.3598, allocations: 7.984 kB / 1.023 GB, free: 5.184 MB / 0.795 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.0001099/0.3599, allocations: 129.7 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.3599, allocations: 4 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.36, allocations: 8.375 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.36, allocations: 4 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.36, allocations: 0 / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.36, allocations: 0 / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.3605, allocations: 382.2 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3605, allocations: 4 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.3606, allocations: 15.98 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3606, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3606, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3606, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3606, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.3609, allocations: 207.4 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.361, allocations: 81.02 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.361, allocations: 12.05 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.3611, allocations: 4 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.3612, allocations: 7.984 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3612, allocations: 7.938 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.3612, allocations: 95.75 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3612, allocations: 0 / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002605/0.3615, allocations: 24 kB / 1.024 GB, free: 4.113 MB / 0.795 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.000153/0.3617, allocations: 115.5 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.3621, allocations: 179.3 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3621, allocations: 0 / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3622, allocations: 36.39 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3625, allocations: 16.23 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.3629, allocations: 188.6 kB / 1.024 GB, free: 3.535 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3632, allocations: 0.691 MB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.3633, allocations: 15.44 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3633, allocations: 0 / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of Templates: time 0.002989/0.3663, allocations: 1.261 MB / 1.026 GB, free: 1.555 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches