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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001697/0.001697, allocations: 105 kB / 16.35 MB, free: 5.824 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.001732/0.001732, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.485/2.485, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 68.2 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3387, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002027/0.3408, allocations: 0.7617 MB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3421, allocations: 1.149 MB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.3422, allocations: 0 / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.3422, allocations: 3.938 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.356e-05/0.3423, allocations: 15.8 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.3428, allocations: 133.2 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.3429, allocations: 119.8 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.343, allocations: 19.97 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.303e-05/0.3431, allocations: 43.91 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.3432, allocations: 55.81 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3433, allocations: 12 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-05/0.3433, allocations: 23.97 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.3434, allocations: 12 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.3434, allocations: 43.78 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.3436, allocations: 115.6 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3436, allocations: 0 / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3436, allocations: 0 / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.3436, allocations: 7.938 kB / 1.021 GB, free: 7.328 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.0006044/0.3442, allocations: 416.9 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3443, allocations: 8.031 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.3443, allocations: 12.84 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3445, allocations: 168.3 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3445, allocations: 8.375 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3445, allocations: 12.36 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.3447, allocations: 66.22 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3448, allocations: 4.125 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3448, allocations: 7.922 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3448, allocations: 4 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.345, allocations: 43.95 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.3455, allocations: 340.6 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3457, allocations: 66.55 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.3458, allocations: 24.97 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.3459, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.3461, allocations: 91.42 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.3461, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004417/0.3466, allocations: 141.5 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.3466, allocations: 63.39 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.779e-05/0.3467, allocations: 113.8 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.3467, allocations: 29.7 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.3468, allocations: 92.12 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3468, allocations: 19.8 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.3469, allocations: 33.7 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.347, allocations: 330.8 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3472, allocations: 55.91 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.3474, allocations: 92.25 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.3477, allocations: 141.9 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3477, allocations: 4 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004242/0.3481, allocations: 207.2 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.3482, allocations: 41.73 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3482, allocations: 0 / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3482, allocations: 4 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.3483, allocations: 15.92 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3483, allocations: 0 / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.3485, allocations: 39.8 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3485, allocations: 8 kB / 1.024 GB, free: 4.395 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.0001068/0.3486, allocations: 135.7 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.3487, allocations: 7.844 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.3487, allocations: 16.36 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3487, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3487, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3487, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.3492, allocations: 382.4 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3492, allocations: 0 / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.3492, allocations: 7.984 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3492, allocations: 0 / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3493, allocations: 4 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3493, allocations: 0 / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3493, allocations: 0 / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.3495, allocations: 215.7 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.3496, allocations: 85.02 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3496, allocations: 0 / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.3497, allocations: 7.984 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3498, allocations: 15.92 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.3498, allocations: 0 / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.3498, allocations: 99.2 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3498, allocations: 0 / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002613/0.3501, allocations: 24 kB / 1.025 GB, free: 3.316 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.0001523/0.3503, allocations: 103.2 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.3506, allocations: 179.2 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3506, allocations: 0 / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3508, allocations: 47.97 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3511, allocations: 21.3 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3514, allocations: 166.5 kB / 1.025 GB, free: 2.762 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3517, allocations: 0.6885 MB / 1.026 GB, free: 2.047 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.3517, allocations: 7.859 kB / 1.026 GB, free: 2.039 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.3518, allocations: 15.44 kB / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3518, allocations: 0 / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of Templates: time 0.003836/0.3556, allocations: 1.442 MB / 1.027 GB, free: 0.5938 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 -s cvode -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