Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001722/0.001722, allocations: 108 kB / 15.6 MB, free: 132 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.002086/0.002086, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.569/1.569, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.883/0.8843, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002314/0.8867, allocations: 0.7404 MB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.888, allocations: 1.151 MB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.8881, allocations: 0 / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.8881, allocations: 9.281 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.8882, allocations: 13.42 kB / 0.9515 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.8887, allocations: 131.8 kB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.8889, allocations: 121.7 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.889, allocations: 15.36 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.452e-05/0.8891, allocations: 51.39 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.8891, allocations: 33.95 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.8892, allocations: 10.22 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.8893, allocations: 24.98 kB / 0.9518 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.8893, allocations: 15.02 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.8894, allocations: 43.97 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.8895, allocations: 112.4 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8895, allocations: 1.688 kB / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.619e-06/0.8896, allocations: 0 / 0.952 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.8896, allocations: 7.875 kB / 0.952 GB, free: 7.348 MB / 0.7169 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.0006029/0.8902, allocations: 412.1 kB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8902, allocations: 9.406 kB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.8903, allocations: 10.56 kB / 0.9524 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.217e-05/0.8904, allocations: 172.8 kB / 0.9526 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.8904, allocations: 7.359 kB / 0.9526 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.8904, allocations: 9.75 kB / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.8906, allocations: 61.73 kB / 0.9527 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8907, allocations: 192 / 0.9527 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.8907, allocations: 7.922 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.8907, allocations: 1.188 kB / 0.9527 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.8909, allocations: 42.41 kB / 0.9527 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.8914, allocations: 335.3 kB / 0.953 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.8915, allocations: 58.64 kB / 0.9531 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.8917, allocations: 37.92 kB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.8917, allocations: 9.406 kB / 0.9531 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.8919, allocations: 87.33 kB / 0.9532 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.8919, allocations: 3.984 kB / 0.9532 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004579/0.8924, allocations: 147 kB / 0.9534 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.8924, allocations: 58.28 kB / 0.9534 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.8925, allocations: 115.8 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.8926, allocations: 36.5 kB / 0.9536 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.8926, allocations: 92.41 kB / 0.9536 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.8926, allocations: 18.84 kB / 0.9537 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.8927, allocations: 40.81 kB / 0.9537 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.8928, allocations: 317.2 kB / 0.954 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.8929, allocations: 55.36 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.8931, allocations: 89 kB / 0.9541 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.8934, allocations: 143.4 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8934, allocations: 1.5 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004322/0.8938, allocations: 208.6 kB / 0.9545 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.8939, allocations: 32.61 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.8939, allocations: 2.344 kB / 0.9545 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.8939, allocations: 5.406 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.894, allocations: 16.36 kB / 0.9545 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.894, allocations: 1.438 kB / 0.9545 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.8943, allocations: 32.33 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.8943, allocations: 10.14 kB / 0.9546 GB, free: 4.973 MB / 0.7169 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 9.428e-05/0.8944, allocations: 130.1 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.8944, allocations: 11.91 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.8945, allocations: 9.688 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8945, allocations: 1.312 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.8945, allocations: 0 / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.8945, allocations: 0 / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.8949, allocations: 375.9 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.8949, allocations: 0 / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.895, allocations: 14.14 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.895, allocations: 1.156 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.895, allocations: 0 / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.895, allocations: 0.9688 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.895, allocations: 1.156 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.8953, allocations: 212.2 kB / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.8954, allocations: 91.39 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.8954, allocations: 5.297 kB / 0.9554 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.8955, allocations: 7.531 kB / 0.9554 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.8955, allocations: 15.48 kB / 0.9554 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.8956, allocations: 12.41 kB / 0.9554 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.8956, allocations: 92.95 kB / 0.9555 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8956, allocations: 0 / 0.9555 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002576/0.8959, allocations: 21.41 kB / 0.9555 GB, free: 4.062 MB / 0.7169 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.0001469/0.896, allocations: 116 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.8964, allocations: 176.1 kB / 0.9558 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8965, allocations: 0 / 0.9558 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.8966, allocations: 40.3 kB / 0.9558 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.8969, allocations: 10.67 kB / 0.9559 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.8972, allocations: 161.9 kB / 0.956 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.8974, allocations: 0.6928 MB / 0.9567 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.403e-05/0.8974, allocations: 7.094 kB / 0.9567 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.8974, allocations: 19.91 kB / 0.9567 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8974, allocations: 0 / 0.9567 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.003826/0.9013, allocations: 1.451 MB / 0.9581 GB, free: 2.207 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches