Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001639/0.001639, allocations: 104.8 kB / 16.35 MB, free: 5.824 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.001724/0.001725, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.599/2.599, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 68.91 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3751, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002304/0.3774, allocations: 0.7747 MB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3791, allocations: 1.147 MB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.3791, allocations: 0 / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.3792, allocations: 7.922 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.3793, allocations: 15.86 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.3797, allocations: 127.7 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.3799, allocations: 115.8 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.38, allocations: 23.97 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.016e-05/0.3801, allocations: 47.91 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.3802, allocations: 43.83 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.3802, allocations: 12 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.46e-05/0.3803, allocations: 27.97 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.3803, allocations: 15.92 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.3804, allocations: 43.84 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.3806, allocations: 111.6 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3806, allocations: 8 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3806, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3806, allocations: 4 kB / 1.029 GB, free: 15.5 MB / 0.8106 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.0005407/0.3811, allocations: 408.9 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3812, allocations: 8.031 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3812, allocations: 8.938 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.3813, allocations: 168.3 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3814, allocations: 8.375 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.3814, allocations: 8.375 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3816, allocations: 70.22 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-06/0.3816, allocations: 192 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3816, allocations: 3.938 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3816, allocations: 0 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.3818, allocations: 51.83 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.3822, allocations: 348.6 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.3824, allocations: 58.56 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3825, allocations: 28.95 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3825, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.3828, allocations: 95.42 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3828, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004061/0.3832, allocations: 141.5 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.3832, allocations: 55.41 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.3833, allocations: 121.8 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.3834, allocations: 29.7 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.3835, allocations: 96.14 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.3835, allocations: 19.69 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.3836, allocations: 41.64 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3838, allocations: 326.8 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3839, allocations: 51.97 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3841, allocations: 96.25 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.3844, allocations: 133.9 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.3844, allocations: 4 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004189/0.3848, allocations: 203.2 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.3849, allocations: 41.69 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3849, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.3849, allocations: 4 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.385, allocations: 11.98 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.385, allocations: 3.938 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.3852, allocations: 43.92 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.3852, allocations: 12 kB / 1.032 GB, free: 12.57 MB / 0.8106 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.0001002/0.3853, allocations: 125.7 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.3854, allocations: 7.891 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.3854, allocations: 16.36 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3854, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3854, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3854, allocations: 4 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.3859, allocations: 382.7 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3859, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.386, allocations: 4 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.386, allocations: 64 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.386, allocations: 15.98 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.386, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.386, allocations: 4 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.3863, allocations: 207.3 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.3864, allocations: 85.02 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3864, allocations: 3.938 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.3865, allocations: 11.98 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3866, allocations: 11.92 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3866, allocations: 7.938 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.98e-05/0.3867, allocations: 95.27 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3867, allocations: 0 / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002617/0.3869, allocations: 24 kB / 1.033 GB, free: 11.48 MB / 0.8106 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.0001768/0.3871, allocations: 102.8 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.3875, allocations: 183.4 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3875, allocations: 0 / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3876, allocations: 43.91 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3879, allocations: 16.38 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.3883, allocations: 166.5 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3887, allocations: 0.6939 MB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.3887, allocations: 7.984 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.3887, allocations: 11.44 kB / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3887, allocations: 0 / 1.034 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.003765/0.3925, allocations: 1.431 MB / 1.035 GB, free: 8.785 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches