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.00139/0.00139, allocations: 106.5 kB / 15.99 MB, free: 5.914 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.001435/0.001435, allocations: 192.8 kB / 16.91 MB, free: 5.758 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.422/1.422, allocations: 222.9 MB / 240.6 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.476/2.476, allocations: 390.2 MB / 0.665 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 75.86 kB / 0.8127 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6587, allocations: 140.4 MB / 0.9498 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001839/0.6606, allocations: 0.8075 MB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.6616, allocations: 1.137 MB / 0.9517 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.6616, allocations: 4 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.6617, allocations: 5.281 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.6618, allocations: 13.27 kB / 0.9517 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.6622, allocations: 114.5 kB / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.6623, allocations: 125.4 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.6624, allocations: 14.86 kB / 0.952 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.6625, allocations: 52.47 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.6625, allocations: 41.5 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.6626, allocations: 11 kB / 0.9521 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.955e-05/0.6626, allocations: 20.48 kB / 0.9521 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.6626, allocations: 14.69 kB / 0.9521 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.6627, allocations: 44.22 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.6628, allocations: 82.39 kB / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.6628, allocations: 0 / 0.9522 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6628, allocations: 5.25 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.6628, allocations: 0 / 0.9522 GB, free: 7.234 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.0004665/0.6633, allocations: 407.3 kB / 0.9526 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.6633, allocations: 8.812 kB / 0.9526 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.6634, allocations: 11.19 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.555e-05/0.6635, allocations: 171.4 kB / 0.9528 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.6635, allocations: 11.59 kB / 0.9528 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.6635, allocations: 14.45 kB / 0.9528 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.6637, allocations: 63.84 kB / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.6637, allocations: 5.188 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6637, allocations: 3.938 kB / 0.9529 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.6637, allocations: 1.125 kB / 0.9529 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.6639, allocations: 42.67 kB / 0.9529 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.6643, allocations: 332.7 kB / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.6645, allocations: 62.58 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/0.6646, allocations: 37.03 kB / 0.9533 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.6646, allocations: 3.984 kB / 0.9533 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.6648, allocations: 84.2 kB / 0.9534 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.6648, allocations: 0 / 0.9534 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003891/0.6652, allocations: 148.5 kB / 0.9536 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.6652, allocations: 56.44 kB / 0.9536 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.6653, allocations: 116.7 kB / 0.9537 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.6653, allocations: 32.58 kB / 0.9538 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.6654, allocations: 94.91 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.6654, allocations: 19.62 kB / 0.9539 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.6654, allocations: 36.33 kB / 0.9539 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.6655, allocations: 317 kB / 0.9542 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.6656, allocations: 60.3 kB / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.6658, allocations: 83.03 kB / 0.9543 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.666, allocations: 149 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.666, allocations: 0 / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003899/0.6664, allocations: 205.3 kB / 0.9547 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.6665, allocations: 37.83 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6665, allocations: 1.469 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.6665, allocations: 5.5 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.6666, allocations: 16.27 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6666, allocations: 1.531 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.6668, allocations: 36.52 kB / 0.9548 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.6669, allocations: 9.547 kB / 0.9548 GB, free: 4.859 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 6.948e-05/0.6669, allocations: 127.4 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.6669, allocations: 14.25 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.667, allocations: 14.81 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.667, allocations: 1.031 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.667, allocations: 0 / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.667, allocations: 0 / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.6674, allocations: 376.8 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6674, allocations: 0 / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.6675, allocations: 13.67 kB / 0.9553 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6675, allocations: 0 / 0.9553 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6675, allocations: 5.406 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6675, allocations: 0 / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6675, allocations: 5.344 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.6677, allocations: 204.2 kB / 0.9555 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.6678, allocations: 94.95 kB / 0.9556 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.6678, allocations: 5.141 kB / 0.9556 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.6679, allocations: 8.312 kB / 0.9556 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.6679, allocations: 6.766 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.668, allocations: 7.062 kB / 0.9556 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.668, allocations: 95.31 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.668, allocations: 0.9688 kB / 0.9557 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002583/0.6683, allocations: 24 kB / 0.9557 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.0001367/0.6684, allocations: 107.4 kB / 0.9558 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.6688, allocations: 180.7 kB / 0.956 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6688, allocations: 0 / 0.956 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.6689, allocations: 40.16 kB / 0.9561 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.6692, allocations: 20.45 kB / 0.9561 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.6695, allocations: 198 kB / 0.9563 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.6696, allocations: 0.6946 MB / 0.9569 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.6697, allocations: 11.91 kB / 0.9569 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6697, allocations: 7.938 kB / 0.957 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of Templates: time 0.002546/0.6722, allocations: 1.254 MB / 0.9582 GB, free: 2.148 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/jenkins1/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