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.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.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.001378/0.001379, allocations: 110.3 kB / 15.99 MB, free: 6.355 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.001384/0.001384, allocations: 194 kB / 16.91 MB, free: 6.191 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.309/2.309, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.84 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2989, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002424/0.3013, allocations: 0.817 MB / 0.9506 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3029, allocations: 1.152 MB / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.303, allocations: 0 / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.303, allocations: 3.938 kB / 0.9517 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.3031, allocations: 3.938 kB / 0.9517 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.3037, allocations: 123.4 kB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.3039, allocations: 131.7 kB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.304, allocations: 8 kB / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3041, allocations: 51.91 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3042, allocations: 35.83 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.3043, allocations: 12 kB / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.3043, allocations: 27.97 kB / 0.9521 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.3044, allocations: 11.98 kB / 0.9521 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.3045, allocations: 47.84 kB / 0.9521 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.3046, allocations: 83.83 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3046, allocations: 0 / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3046, allocations: 3.938 kB / 0.9522 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3046, allocations: 0 / 0.9522 GB, free: 6.707 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.0006339/0.3053, allocations: 409.2 kB / 0.9526 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3053, allocations: 11.97 kB / 0.9526 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.3054, allocations: 16.84 kB / 0.9526 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3055, allocations: 168.3 kB / 0.9528 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3056, allocations: 8.375 kB / 0.9528 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3056, allocations: 4.375 kB / 0.9528 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.3058, allocations: 66.22 kB / 0.9529 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3058, allocations: 192 / 0.9529 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3059, allocations: 7.938 kB / 0.9529 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3059, allocations: 4 kB / 0.9529 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.3061, allocations: 43.94 kB / 0.9529 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.3066, allocations: 340.6 kB / 0.9533 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3068, allocations: 58.61 kB / 0.9533 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3069, allocations: 36.95 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3069, allocations: 3.938 kB / 0.9534 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.3072, allocations: 91.27 kB / 0.9534 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.3072, allocations: 0 / 0.9534 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004559/0.3077, allocations: 137.7 kB / 0.9536 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3077, allocations: 55.41 kB / 0.9536 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3079, allocations: 129.6 kB / 0.9538 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.3079, allocations: 33.7 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.308, allocations: 88.14 kB / 0.9539 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.308, allocations: 15.8 kB / 0.9539 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.3081, allocations: 41.64 kB / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000262/0.3084, allocations: 322.8 kB / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3086, allocations: 59.91 kB / 0.9543 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.3088, allocations: 84.25 kB / 0.9544 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.3091, allocations: 141.9 kB / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3091, allocations: 0 / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004588/0.3096, allocations: 211.4 kB / 0.9547 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.3096, allocations: 41.69 kB / 0.9547 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3096, allocations: 8.109 kB / 0.9548 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3096, allocations: 4 kB / 0.9548 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.3097, allocations: 11.98 kB / 0.9548 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3098, allocations: 4 kB / 0.9548 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.31, allocations: 43.8 kB / 0.9548 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.31, allocations: 4 kB / 0.9548 GB, free: 3.773 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.0001029/0.3101, allocations: 130.9 kB / 0.9549 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.3102, allocations: 4 kB / 0.9549 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.3102, allocations: 12.36 kB / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3102, allocations: 0 / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3102, allocations: 4.062 kB / 0.955 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3102, allocations: 4 kB / 0.955 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.3107, allocations: 378.3 kB / 0.9553 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3107, allocations: 4 kB / 0.9553 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.3108, allocations: 15.98 kB / 0.9553 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3108, allocations: 0 / 0.9553 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3108, allocations: 0 / 0.9553 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3108, allocations: 0 / 0.9553 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3108, allocations: 0 / 0.9553 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.3112, allocations: 211.3 kB / 0.9555 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.3113, allocations: 77.11 kB / 0.9556 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3113, allocations: 8 kB / 0.9556 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.3114, allocations: 3.984 kB / 0.9556 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.3114, allocations: 15.86 kB / 0.9556 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.3115, allocations: 4 kB / 0.9557 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.779e-05/0.3115, allocations: 95.2 kB / 0.9557 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3115, allocations: 0 / 0.9557 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002788/0.3118, allocations: 27.91 kB / 0.9558 GB, free: 2.699 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.0001808/0.312, allocations: 107.2 kB / 0.9559 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.3124, allocations: 183.3 kB / 0.956 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3124, allocations: 0 / 0.956 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.3126, allocations: 39.91 kB / 0.9561 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.3129, allocations: 20.17 kB / 0.9561 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.3133, allocations: 208.2 kB / 0.9563 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3136, allocations: 0.6922 MB / 0.957 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.3137, allocations: 11.44 kB / 0.957 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.3137, allocations: 4 kB / 0.957 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of Templates: time 0.002944/0.3166, allocations: 1.274 MB / 0.9582 GB, free: 96 kB / 0.7325 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 -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