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.001484/0.001484, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001841/0.001841, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.425/2.425, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 71.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6933/0.6947, allocations: 140.3 MB / 0.9491 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002159/0.6969, allocations: 0.8152 MB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.6983, allocations: 1.144 MB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.6984, allocations: 1.375 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.6984, allocations: 0 / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.6985, allocations: 13.31 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.699, allocations: 124.5 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.6992, allocations: 121.3 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.6993, allocations: 19.17 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.6994, allocations: 52.45 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.6995, allocations: 38.2 kB / 0.9514 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.6995, allocations: 9.875 kB / 0.9514 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.93e-05/0.6996, allocations: 17.25 kB / 0.9514 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.6996, allocations: 18.8 kB / 0.9514 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.6997, allocations: 44.27 kB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.6998, allocations: 104 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.6999, allocations: 1.281 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.806e-06/0.6999, allocations: 4 kB / 0.9516 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.6999, allocations: 3.938 kB / 0.9516 GB, free: 7.238 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.0005422/0.7004, allocations: 411.2 kB / 0.952 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.7005, allocations: 14.27 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.7005, allocations: 9.812 kB / 0.952 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.7006, allocations: 171.8 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.7006, allocations: 3.156 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.7007, allocations: 14.91 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.7009, allocations: 67.56 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7009, allocations: 1.719 kB / 0.9522 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.7009, allocations: 7.938 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.7009, allocations: 1.312 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.7011, allocations: 38.64 kB / 0.9523 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.7015, allocations: 335.4 kB / 0.9526 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.7017, allocations: 67.64 kB / 0.9527 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.7018, allocations: 29.03 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.7018, allocations: 0 / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.7021, allocations: 92.45 kB / 0.9528 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.7021, allocations: 0 / 0.9528 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004135/0.7025, allocations: 143.4 kB / 0.9529 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.7026, allocations: 57.77 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.7027, allocations: 119.3 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.7027, allocations: 28.52 kB / 0.9531 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.7027, allocations: 92.42 kB / 0.9532 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.7028, allocations: 22.58 kB / 0.9532 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.7028, allocations: 37.42 kB / 0.9533 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.7029, allocations: 320.3 kB / 0.9536 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.7031, allocations: 47.53 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.7032, allocations: 93.91 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.7035, allocations: 152.2 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7035, allocations: 0 / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004489/0.704, allocations: 200.9 kB / 0.954 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.704, allocations: 43 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.704, allocations: 1.438 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.7041, allocations: 2.469 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.7042, allocations: 16.23 kB / 0.9541 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.7042, allocations: 5.812 kB / 0.9541 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.7044, allocations: 31.77 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.7044, allocations: 10.5 kB / 0.9541 GB, free: 4.863 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.354e-05/0.7045, allocations: 121.5 kB / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.7046, allocations: 10.58 kB / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.7046, allocations: 9.531 kB / 0.9543 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7046, allocations: 8.969 kB / 0.9543 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.7046, allocations: 1.531 kB / 0.9543 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7046, allocations: 0 / 0.9543 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.7051, allocations: 378.7 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7051, allocations: 1.438 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.7051, allocations: 12.73 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7052, allocations: 5.562 kB / 0.9547 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.7052, allocations: 0 / 0.9547 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.7052, allocations: 1.312 kB / 0.9547 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7052, allocations: 0 / 0.9547 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.7055, allocations: 216.8 kB / 0.9549 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.7055, allocations: 87.27 kB / 0.955 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.7055, allocations: 1.406 kB / 0.955 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.7056, allocations: 11.64 kB / 0.955 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.7057, allocations: 11.48 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.7057, allocations: 6.156 kB / 0.955 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.7057, allocations: 95.69 kB / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7057, allocations: 0 / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002621/0.706, allocations: 24.72 kB / 0.9551 GB, free: 3.949 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.0001814/0.7062, allocations: 99.86 kB / 0.9552 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.7066, allocations: 180.3 kB / 0.9554 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7066, allocations: 5.062 kB / 0.9554 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.7067, allocations: 39.28 kB / 0.9554 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.707, allocations: 21.16 kB / 0.9554 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.7074, allocations: 177.9 kB / 0.9556 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.7076, allocations: 0.6924 MB / 0.9563 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.7076, allocations: 7.875 kB / 0.9563 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.7077, allocations: 10.97 kB / 0.9563 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7077, allocations: 5.25 kB / 0.9563 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.004763/0.7124, allocations: 1.378 MB / 0.9576 GB, free: 2.121 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