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.01012/0.01012, allocations: 95.92 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.002163/0.002163, allocations: 194 kB / 16.68 MB, free: 5.969 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.49/1.49, 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.514/2.514, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 68.38 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3647, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00197/0.3667, allocations: 0.7406 MB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3682, allocations: 1.145 MB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.3683, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.3684, allocations: 7.875 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.3685, allocations: 19.86 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.369, allocations: 127.3 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.3692, allocations: 131.8 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3693, allocations: 15.98 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.512e-05/0.3694, allocations: 43.91 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3696, allocations: 51.8 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.3696, allocations: 8 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.3697, allocations: 31.92 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.3697, allocations: 11.92 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.3698, allocations: 47.8 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.37, allocations: 115.7 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.37, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.37, allocations: 3.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.37, allocations: 0 / 1.09 GB, free: 14.95 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.0006427/0.3707, allocations: 412.9 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3707, allocations: 12.03 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.3708, allocations: 8.891 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3709, allocations: 176.3 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3709, allocations: 8.375 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.371, allocations: 8.375 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.3712, allocations: 70.16 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3712, allocations: 192 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3712, allocations: 7.938 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3712, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.3714, allocations: 43.95 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.3721, allocations: 336.7 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.3723, allocations: 58.55 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3724, allocations: 32.97 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3725, allocations: 3.984 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.3727, allocations: 95.3 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3727, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005375/0.3733, allocations: 137.6 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.3734, allocations: 51.41 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3735, allocations: 129.7 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.3736, allocations: 29.7 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.3737, allocations: 92.12 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.3737, allocations: 27.86 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.3738, allocations: 41.69 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.374, allocations: 318.8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3742, allocations: 55.89 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3744, allocations: 88.25 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.3747, allocations: 141.9 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3747, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000449/0.3752, allocations: 211.2 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.3752, allocations: 29.7 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3753, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3753, allocations: 3.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3754, allocations: 16.06 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3754, allocations: 4.062 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.3756, allocations: 47.84 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.3757, allocations: 4 kB / 1.093 GB, free: 12.02 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.0001335/0.3758, allocations: 125.8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.3758, allocations: 7.953 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.3759, allocations: 12.38 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3759, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3759, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3759, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.3764, allocations: 378.4 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3764, allocations: 0 / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.3765, allocations: 11.98 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3765, allocations: 0 / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3765, allocations: 4 kB / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3765, allocations: 0 / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3765, allocations: 0 / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.3768, allocations: 215.3 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.3769, allocations: 85 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3769, allocations: 7.984 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.377, allocations: 8 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.377, allocations: 7.922 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3771, allocations: 8 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.3771, allocations: 95.2 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3771, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002652/0.3774, allocations: 20 kB / 1.094 GB, free: 10.95 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.0001788/0.3776, allocations: 115.2 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004043/0.378, allocations: 179.3 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.378, allocations: 0 / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3781, allocations: 36.39 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.3784, allocations: 13.39 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.3788, allocations: 162.9 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3791, allocations: 0.6938 MB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.372e-05/0.3792, allocations: 4 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.3792, allocations: 11.44 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3792, allocations: 4 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of Templates: time 0.004906/0.3841, allocations: 1.476 MB / 1.097 GB, free: 8.211 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