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.007616/0.007616, allocations: 99.89 kB / 15.73 MB, free: 6.043 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.001325/0.001325, allocations: 201.8 kB / 16.68 MB, free: 5.961 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.68/2.68, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.38 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4108, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002471/0.4133, allocations: 0.7484 MB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.4157, allocations: 1.153 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.4158, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.015e-05/0.4159, allocations: 7.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.416, allocations: 15.8 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.4167, allocations: 134.6 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.417, allocations: 119.8 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4171, allocations: 20 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.4173, allocations: 43.91 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.4174, allocations: 51.8 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.4175, allocations: 8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.817e-05/0.4176, allocations: 31.92 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.4176, allocations: 7.984 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.4177, allocations: 51.77 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.4179, allocations: 107.8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.418, allocations: 0 / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.837e-06/0.418, allocations: 4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.418, allocations: 3.938 kB / 1.09 GB, free: 14.98 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.0007681/0.4188, allocations: 412.9 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4188, allocations: 12.03 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.4189, allocations: 8.922 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.419, allocations: 172.3 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4191, allocations: 4.375 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.4191, allocations: 4.375 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.4193, allocations: 74.16 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4193, allocations: 192 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4193, allocations: 7.938 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.4194, allocations: 4 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.4195, allocations: 43.89 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006668/0.4202, allocations: 340.6 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.4204, allocations: 66.55 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/0.4205, allocations: 32.95 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.4205, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.4208, allocations: 91.36 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.4208, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005397/0.4214, allocations: 149.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/0.4215, allocations: 51.41 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4216, allocations: 121.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4216, allocations: 33.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.4217, allocations: 88.14 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.4218, allocations: 23.72 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-05/0.4219, allocations: 41.69 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.422, allocations: 314.8 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.4222, allocations: 59.89 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.4225, allocations: 84.25 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.4228, allocations: 145.8 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4228, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004658/0.4233, allocations: 207.2 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.4233, allocations: 35.25 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4234, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4234, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.4235, allocations: 15.92 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.4235, allocations: 4.062 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.4237, allocations: 47.94 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4237, allocations: 7.984 kB / 1.093 GB, free: 12.05 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.0001177/0.4239, allocations: 121.8 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.4239, allocations: 7.906 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.4239, allocations: 8.375 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4239, allocations: 4 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4239, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.424, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.4245, allocations: 378.4 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4245, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.4245, allocations: 15.98 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4245, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.4246, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4246, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4246, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.4249, allocations: 223.3 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.4249, allocations: 85 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.425, allocations: 11.94 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.425, allocations: 3.984 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.4251, allocations: 7.938 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.4251, allocations: 4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001446/0.4253, allocations: 99.2 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4253, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002648/0.4255, allocations: 24 kB / 1.094 GB, free: 10.97 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.0001755/0.4257, allocations: 116.5 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.4261, allocations: 171.3 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4261, allocations: 256 / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.4263, allocations: 43.92 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.4266, allocations: 15.92 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.4271, allocations: 158.6 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.4274, allocations: 0.6898 MB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.4274, allocations: 11.98 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.4274, allocations: 11.44 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.4275, allocations: 0 / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of Templates: time 0.0047/0.4322, allocations: 1.51 MB / 1.097 GB, free: 8.199 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