Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_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_10_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.001653/0.001653, 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.001687/0.001686, allocations: 198.9 kB / 16.54 MB, free: 6.672 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.618/1.618, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.011/3.011, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 63.91 kB / 0.8692 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8207, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002436/0.8232, allocations: 0.7487 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.8249, allocations: 1.148 MB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.825, allocations: 3.938 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.8251, allocations: 7.875 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.8252, allocations: 7.922 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005626/0.8257, allocations: 131.6 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.8259, allocations: 131.7 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.8261, allocations: 19.97 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.8262, allocations: 47.84 kB / 1.02 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.8263, allocations: 51.81 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.8263, allocations: 8 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.8264, allocations: 27.98 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.8264, allocations: 7.984 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/0.8265, allocations: 39.86 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.8267, allocations: 115.7 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8268, allocations: 0 / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8268, allocations: 0 / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.8268, allocations: 0 / 1.02 GB, free: 136 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007465/0.8275, allocations: 419.1 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.8276, allocations: 12.03 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.8277, allocations: 16.83 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.8278, allocations: 176.2 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.8279, allocations: 4.375 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.8279, allocations: 4.375 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.8281, allocations: 66.22 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.8281, allocations: 4.125 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.8282, allocations: 7.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.8282, allocations: 8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.8284, allocations: 39.95 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.829, allocations: 340.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.8292, allocations: 58.61 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.8293, allocations: 32.95 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.8293, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.8296, allocations: 95.2 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.8296, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004828/0.8301, allocations: 137.6 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.8302, allocations: 51.41 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.8303, allocations: 125.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.8303, allocations: 29.7 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.8304, allocations: 92.2 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.8304, allocations: 19.75 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/0.8305, allocations: 45.69 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8307, allocations: 314.8 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.8309, allocations: 55.95 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.8311, allocations: 92.56 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.8314, allocations: 141.9 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8314, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004734/0.8319, allocations: 211.2 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/0.8319, allocations: 35.41 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.832, allocations: 7.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.832, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.8321, allocations: 11.98 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.8321, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.8323, allocations: 39.81 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.8324, allocations: 12.05 kB / 1.022 GB, free: 13.2 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,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.000125/0.8325, allocations: 125.7 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.8325, allocations: 4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.8326, allocations: 8.375 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.8326, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8326, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.8326, allocations: 3.984 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.8332, allocations: 382.6 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.8332, allocations: 3.984 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.8332, allocations: 15.92 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.8333, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.8333, allocations: 64 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.8333, allocations: 7.984 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8333, allocations: 80 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.8336, allocations: 219.3 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.8337, allocations: 77.11 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.8337, allocations: 8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.8338, allocations: 7.984 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.8339, allocations: 3.938 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.8339, allocations: 7.984 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.305e-05/0.834, allocations: 99.33 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.834, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002692/0.8343, allocations: 20 kB / 1.023 GB, free: 12.12 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 (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.0001992/0.8345, allocations: 115.2 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.8349, allocations: 175.3 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8349, allocations: 256 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.8351, allocations: 39.97 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.8354, allocations: 11.94 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.8359, allocations: 170.4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.8363, allocations: 0.6962 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.136e-05/0.8363, allocations: 11.84 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.8363, allocations: 7.438 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.8364, allocations: 4 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.005131/0.8415, allocations: 1.446 MB / 1.026 GB, free: 9.395 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches