Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 115.3 kB / 16.37 MB, free: 6 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.001112/0.001112, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 67.94 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3296, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002668/0.3323, allocations: 0.7592 MB / 0.9519 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3342, allocations: 1.142 MB / 0.953 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.3343, allocations: 0 / 0.953 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.3343, allocations: 19.8 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.3344, allocations: 3.938 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.335, allocations: 139.2 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.3352, allocations: 119.8 kB / 0.9533 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3353, allocations: 19.98 kB / 0.9533 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3354, allocations: 47.84 kB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3355, allocations: 47.81 kB / 0.9534 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.3356, allocations: 12 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.044e-05/0.3357, allocations: 23.98 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.3357, allocations: 11.98 kB / 0.9534 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.3358, allocations: 51.77 kB / 0.9535 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.336, allocations: 111.7 kB / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.336, allocations: 0 / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.366e-06/0.336, allocations: 3.938 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.336, allocations: 3.938 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00067/0.3367, allocations: 416.9 kB / 0.954 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3367, allocations: 8.031 kB / 0.954 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.3368, allocations: 8.844 kB / 0.954 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.337, allocations: 172.2 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.337, allocations: 4.375 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.337, allocations: 12.38 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3372, allocations: 66.22 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3373, allocations: 192 / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3373, allocations: 7.938 kB / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3373, allocations: 0 / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3375, allocations: 39.95 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.338, allocations: 348.6 kB / 0.9546 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.3382, allocations: 54.55 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/0.3383, allocations: 33.02 kB / 0.9547 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.3383, allocations: 0 / 0.9547 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.3385, allocations: 99.2 kB / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.3385, allocations: 0 / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004105/0.3389, allocations: 137.7 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.339, allocations: 51.41 kB / 0.955 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.3391, allocations: 129.7 kB / 0.9551 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.3391, allocations: 37.7 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.3392, allocations: 88.14 kB / 0.9552 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3392, allocations: 15.8 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.3393, allocations: 41.64 kB / 0.9553 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3394, allocations: 322.8 kB / 0.9556 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.3396, allocations: 59.91 kB / 0.9556 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.3398, allocations: 92.12 kB / 0.9557 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.34, allocations: 134.2 kB / 0.9559 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.34, allocations: 4 kB / 0.9559 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000421/0.3405, allocations: 215.1 kB / 0.9561 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.3405, allocations: 39.41 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3405, allocations: 0 / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3406, allocations: 4 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.3407, allocations: 11.98 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3407, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.3409, allocations: 43.94 kB / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.3409, allocations: 11.98 kB / 0.9562 GB, free: 2.621 MB / 0.7325 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001451/0.3411, allocations: 131.6 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.3411, allocations: 64 / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.3411, allocations: 16.38 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3411, allocations: 0 / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3412, allocations: 11.92 kB / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3412, allocations: 0 / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.3417, allocations: 386.3 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3417, allocations: 0 / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.3418, allocations: 4 kB / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3418, allocations: 0 / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3418, allocations: 7.984 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3418, allocations: 0 / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3418, allocations: 4 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.3421, allocations: 207.3 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.3422, allocations: 81.11 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3422, allocations: 4 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.3423, allocations: 7.984 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.3423, allocations: 11.94 kB / 0.957 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.3424, allocations: 3.984 kB / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.169e-05/0.3424, allocations: 99.16 kB / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3424, allocations: 4 kB / 0.9571 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002634/0.3427, allocations: 27.89 kB / 0.9571 GB, free: 1.535 MB / 0.7325 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001779/0.3429, allocations: 107.2 kB / 0.9572 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003967/0.3433, allocations: 175.3 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3433, allocations: 0 / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.3434, allocations: 39.97 kB / 0.9574 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3437, allocations: 12 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.3441, allocations: 170.5 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.3445, allocations: 0.6964 MB / 0.9583 GB, free: 272 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.3445, allocations: 7.984 kB / 0.9583 GB, free: 264 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.3446, allocations: 11.44 kB / 0.9583 GB, free: 252 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3446, allocations: 0 / 0.9583 GB, free: 252 kB / 0.7325 GB Notification: Performance of Templates: time 0.00408/0.3486, allocations: 1.454 MB / 0.9597 GB, free: 14.8 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches