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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001181/0.001181, allocations: 100.1 kB / 15.88 MB, free: 12 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.001856/0.001856, allocations: 200 kB / 16.79 MB, free: 6.828 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.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437 MB / 0.7106 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7023, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00234/0.7047, allocations: 0.8071 MB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.7064, allocations: 1.163 MB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.7064, allocations: 3.938 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.7065, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.7066, allocations: 7.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.7072, allocations: 119.5 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.7073, allocations: 103.8 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.7074, allocations: 23.97 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.7076, allocations: 39.91 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.268e-05/0.7077, allocations: 43.81 kB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.7077, allocations: 4 kB / 1.02 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.7078, allocations: 19.98 kB / 1.02 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.7078, allocations: 15.92 kB / 1.02 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.7079, allocations: 35.8 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.7081, allocations: 83.83 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7081, allocations: 0 / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7081, allocations: 0 / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.7081, allocations: 4 kB / 1.02 GB, free: 304 kB / 0.7637 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.000695/0.7088, allocations: 407 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.7088, allocations: 11.97 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.7089, allocations: 16.84 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.7091, allocations: 180.2 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7091, allocations: 4.375 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.7091, allocations: 8.375 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.7093, allocations: 66.22 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7093, allocations: 192 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.7094, allocations: 7.938 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.7094, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.7096, allocations: 47.89 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.7101, allocations: 324.8 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.7103, allocations: 58.55 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.7105, allocations: 40.89 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.7105, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.7107, allocations: 95.33 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.7107, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000453/0.7112, allocations: 129.6 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.7112, allocations: 59.34 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.7113, allocations: 121.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.7114, allocations: 37.64 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.7114, allocations: 92.14 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.7115, allocations: 19.75 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.7116, allocations: 41.69 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.7117, allocations: 314.8 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.7119, allocations: 51.95 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.712, allocations: 88.25 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.7123, allocations: 145.8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7123, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004741/0.7128, allocations: 211.1 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.7129, allocations: 37.69 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.7129, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7129, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.713, allocations: 11.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.713, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.7133, allocations: 36.09 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.7133, allocations: 11.98 kB / 1.022 GB, free: 13.39 MB / 0.7794 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.000129/0.7134, allocations: 127.7 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.7135, allocations: 7.906 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.7135, allocations: 8.375 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.7135, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7135, allocations: 7.922 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7135, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.714, allocations: 378.6 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.714, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.136e-05/0.7141, allocations: 11.98 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.7141, allocations: 3.984 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.7141, allocations: 8.062 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.7141, allocations: 4.078 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7141, allocations: 7.969 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.7145, allocations: 199.4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.7145, allocations: 92.89 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.7145, allocations: 7.938 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.949e-05/0.7146, allocations: 7.984 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.7147, allocations: 8 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.7147, allocations: 7.922 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.7148, allocations: 91.28 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7148, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002701/0.715, allocations: 24 kB / 1.023 GB, free: 12.3 MB / 0.7794 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.000162/0.7152, allocations: 108.1 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.7156, allocations: 183.2 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7156, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.7158, allocations: 39.97 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.7161, allocations: 15.94 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.7165, allocations: 202.4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.7167, allocations: 0.6848 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.7168, allocations: 15.38 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7168, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.003163/0.72, allocations: 1.251 MB / 1.026 GB, free: 9.742 MB / 0.7794 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=480 -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