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.001308/0.001308, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001226/0.001226, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 73.16 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3238, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002489/0.3263, allocations: 0.751 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3281, allocations: 1.141 MB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.3282, allocations: 4 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.3282, allocations: 7.922 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.3284, allocations: 15.81 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.329, allocations: 136.6 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.3292, allocations: 123.8 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3293, allocations: 23.97 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3295, allocations: 51.83 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.878e-05/0.3296, allocations: 39.83 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.3296, allocations: 15.94 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-05/0.3297, allocations: 23.98 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.3298, allocations: 11.98 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.3299, allocations: 51.77 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.3301, allocations: 107.7 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3301, allocations: 0 / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3301, allocations: 8 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3301, allocations: 0 / 1.02 GB, free: 8.09 MB / 0.795 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.0006938/0.3308, allocations: 413.2 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3309, allocations: 8.031 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.3309, allocations: 12.84 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3311, allocations: 172.2 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3311, allocations: 384 / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.3311, allocations: 12.31 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.3314, allocations: 70.22 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3314, allocations: 192 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3314, allocations: 7.938 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3314, allocations: 0 / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.3316, allocations: 39.95 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.3322, allocations: 356.5 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.3324, allocations: 54.61 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3326, allocations: 28.95 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3326, allocations: 4 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.3328, allocations: 91.36 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.3328, allocations: 3.938 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0005398/0.3334, allocations: 133.6 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3334, allocations: 59.39 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.3335, allocations: 117.8 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.3336, allocations: 37.7 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.3336, allocations: 88.14 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3337, allocations: 19.8 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.3338, allocations: 37.7 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3339, allocations: 318.8 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.334, allocations: 51.97 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.3342, allocations: 100.2 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.3346, allocations: 141.9 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3346, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004687/0.335, allocations: 207.1 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.3351, allocations: 37.69 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3351, allocations: 0 / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3351, allocations: 4 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3353, allocations: 15.92 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3353, allocations: 8.062 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.3356, allocations: 43.8 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.3356, allocations: 8 kB / 1.023 GB, free: 5.16 MB / 0.795 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.0001055/0.3357, allocations: 123.7 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.3357, allocations: 7.906 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.3358, allocations: 12.36 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3358, allocations: 4 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3358, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3358, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.3363, allocations: 382.7 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3363, allocations: 0 / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.3364, allocations: 7.984 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3364, allocations: 4 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3364, allocations: 4 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3364, allocations: 3.938 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3364, allocations: 0 / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.3367, allocations: 211.4 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3368, allocations: 89 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.3368, allocations: 4 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.3369, allocations: 11.98 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.337, allocations: 11.92 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.337, allocations: 4 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.3371, allocations: 95.27 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3371, allocations: 0 / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000273/0.3373, allocations: 20 kB / 1.024 GB, free: 4.082 MB / 0.795 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.000176/0.3375, allocations: 103.2 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004164/0.3379, allocations: 187.2 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.338, allocations: 3.938 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.3381, allocations: 39.97 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.3384, allocations: 8.172 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.3388, allocations: 194.3 kB / 1.024 GB, free: 3.504 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.3392, allocations: 0.7001 MB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.3392, allocations: 11.44 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.3392, allocations: 0 / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of Templates: time 0.003417/0.3427, allocations: 1.268 MB / 1.026 GB, free: 1.512 MB / 0.795 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=480 -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/jenkins1/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