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.001205/0.001205, allocations: 109.8 kB / 16.42 MB, free: 6.469 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.001302/0.001302, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.11 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.324/2.324, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9872/0.9886, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002708/0.9914, allocations: 0.7468 MB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.9934, allocations: 1.158 MB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.9935, allocations: 0 / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.9936, allocations: 4.547 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.9937, allocations: 11.88 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006701/0.9944, allocations: 132.7 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000311/0.9947, allocations: 123.9 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.9948, allocations: 21.22 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.995, allocations: 52.03 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.9952, allocations: 46.84 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.9952, allocations: 10.5 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.9954, allocations: 32.27 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.9954, allocations: 13.64 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.9955, allocations: 50.95 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.9958, allocations: 107.9 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.9958, allocations: 1.281 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9959, allocations: 0 / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.9959, allocations: 4 kB / 1.091 GB, free: 3.918 MB / 0.8575 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.0007977/0.9967, allocations: 407.6 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.9967, allocations: 9.984 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.9968, allocations: 10.62 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.9969, allocations: 173.2 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.997, allocations: 4.406 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.997, allocations: 6.984 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.9973, allocations: 68.53 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.9973, allocations: 5.219 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.9973, allocations: 8.547 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.9973, allocations: 1.094 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.9975, allocations: 40.48 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.9982, allocations: 341.6 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.9984, allocations: 63.44 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.9985, allocations: 29.31 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.9985, allocations: 0.75 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.9988, allocations: 88.09 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 3.636e-06/0.9988, allocations: 4 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005581/0.9993, allocations: 148.3 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.9994, allocations: 53.73 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.9995, allocations: 117.6 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.9995, allocations: 32.47 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.9996, allocations: 89.81 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.9996, allocations: 20.12 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/0.9997, allocations: 43.31 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/0.9998, allocations: 318.8 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/1, allocations: 58.23 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/1, allocations: 83.33 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/1.001, allocations: 149.5 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.001, allocations: 0.7188 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005214/1.001, allocations: 201.7 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/1.001, allocations: 39.05 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.001, allocations: 1.969 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.001, allocations: 1.062 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/1.001, allocations: 15.5 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.001, allocations: 2.031 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/1.002, allocations: 42.67 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/1.002, allocations: 8.672 kB / 1.094 GB, free: 1.777 MB / 0.8575 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 8.629e-05/1.002, allocations: 126.6 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/1.002, allocations: 5.938 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/1.002, allocations: 10.7 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.002, allocations: 1.172 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.002, allocations: 0.7969 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/1.002, allocations: 84.03 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/1.002, allocations: 1.375 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/1.002, allocations: 18.75 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/1.002, allocations: 26.23 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003255/1.002, allocations: 185 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003132/1.003, allocations: 284.4 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001346/1.003, allocations: 47.48 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.679e-05/1.003, allocations: 94.92 kB / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of Backend: time 5.91e-07/1.003, allocations: 0 / 1.095 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007036/1.004, allocations: 224.2 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004992/1.004, allocations: 0.6126 MB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of Templates: time 0.005225/1.009, allocations: 1.556 MB / 1.097 GB, free: 148 kB / 0.8575 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