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.007329/0.007329, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.00136/0.00136, allocations: 187.4 kB / 16.67 MB, free: 5.965 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.517/2.517, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.56 kB / 0.9509 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3842, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002278/0.3865, allocations: 0.7523 MB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3882, allocations: 1.153 MB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.3882, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.539e-05/0.3883, allocations: 3.938 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.3884, allocations: 19.81 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.389, allocations: 129.9 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3892, allocations: 123.8 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3893, allocations: 20 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.3894, allocations: 47.84 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3895, allocations: 51.8 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.3896, allocations: 8 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.3897, allocations: 27.98 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.3897, allocations: 4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.3898, allocations: 51.77 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.39, allocations: 111.7 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.39, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.447e-06/0.39, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.39, allocations: 3.938 kB / 1.09 GB, free: 14.99 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.00068/0.3907, allocations: 412.9 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3907, allocations: 12.03 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.3908, allocations: 4.938 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3909, allocations: 176.2 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.391, allocations: 4.375 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.391, allocations: 8.375 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3912, allocations: 66.22 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3912, allocations: 192 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3912, allocations: 11.94 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3913, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.3914, allocations: 39.95 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.3921, allocations: 348.5 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3923, allocations: 62.59 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.344e-05/0.3924, allocations: 28.97 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3924, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.3927, allocations: 103.2 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.3927, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004339/0.3931, allocations: 141.5 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.3932, allocations: 55.47 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.379e-05/0.3933, allocations: 121.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.3933, allocations: 29.7 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.3934, allocations: 92.12 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3934, allocations: 23.72 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.3935, allocations: 37.7 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3936, allocations: 318.8 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.3938, allocations: 59.89 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.394, allocations: 91.31 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.3943, allocations: 142.2 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3943, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004849/0.3948, allocations: 215.2 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.3948, allocations: 35.27 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3948, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3948, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.3949, allocations: 11.98 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.395, allocations: 4 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3951, allocations: 47.92 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3952, allocations: 4 kB / 1.093 GB, free: 12.06 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 0.0001354/0.3953, allocations: 129.7 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.3953, allocations: 7.906 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.3954, allocations: 8.375 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3954, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3954, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3954, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.396, allocations: 374.5 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.396, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.396, allocations: 19.92 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.396, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.396, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3961, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3961, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.3964, allocations: 219.3 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.3964, allocations: 81.02 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3964, allocations: 11.98 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.3965, allocations: 4 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.3966, allocations: 7.922 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3966, allocations: 4.062 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.3967, allocations: 103.2 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3967, allocations: 3.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000249/0.3969, allocations: 20 kB / 1.094 GB, free: 10.98 MB / 0.8575 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.0001683/0.3971, allocations: 115.2 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000369/0.3975, allocations: 171.3 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3975, allocations: 4.25 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3976, allocations: 39.97 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3979, allocations: 15.92 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.3984, allocations: 162.1 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3987, allocations: 0.6923 MB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.3988, allocations: 8 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.3988, allocations: 11.44 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.3988, allocations: 0 / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of Templates: time 0.004104/0.4029, allocations: 1.468 MB / 1.097 GB, free: 8.246 MB / 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/jenkins/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