Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001757/0.001757, allocations: 104.8 kB / 15.98 MB, free: 6.352 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.002043/0.002043, allocations: 193 kB / 16.91 MB, free: 6.184 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.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437 MB / 0.7107 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.16 kB / 0.8694 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3712, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002617/0.3739, allocations: 0.8192 MB / 1.018 GB, free: 10.23 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3756, allocations: 1.152 MB / 1.019 GB, free: 9.059 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.3757, allocations: 3.938 kB / 1.019 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.3758, allocations: 4 kB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.3759, allocations: 7.875 kB / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.3766, allocations: 115 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.3768, allocations: 127.8 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.377, allocations: 15.98 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3771, allocations: 51.84 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3772, allocations: 39.81 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.3773, allocations: 12 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.3774, allocations: 23.98 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.3774, allocations: 15.92 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.3775, allocations: 47.83 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.3777, allocations: 87.78 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3777, allocations: 0 / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3777, allocations: 0 / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.3777, allocations: 0 / 1.02 GB, free: 8.52 MB / 0.795 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.0007387/0.3785, allocations: 409.2 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3785, allocations: 12.03 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.3786, allocations: 12.84 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3787, allocations: 180.2 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3788, allocations: 4.375 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3788, allocations: 8.375 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.379, allocations: 66.22 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.379, allocations: 192 / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3791, allocations: 7.938 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3791, allocations: 4 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.3793, allocations: 39.95 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.3798, allocations: 348.5 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3801, allocations: 58.61 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3802, allocations: 28.97 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3802, allocations: 4 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.3804, allocations: 95.36 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 2.735e-06/0.3804, allocations: 0 / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004782/0.3809, allocations: 137.5 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.381, allocations: 55.41 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.3811, allocations: 129.7 kB / 1.021 GB, free: 6.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.3811, allocations: 29.7 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.3812, allocations: 88.14 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3812, allocations: 19.78 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.355e-05/0.3813, allocations: 37.7 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3815, allocations: 322.8 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3816, allocations: 51.97 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.3818, allocations: 92.19 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.3821, allocations: 145.9 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3821, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004584/0.3826, allocations: 199.2 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.3826, allocations: 37.69 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3827, allocations: 7.938 kB / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3827, allocations: 0 / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.3828, allocations: 16.11 kB / 1.022 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3828, allocations: 4 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.383, allocations: 43.8 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.3831, allocations: 7.938 kB / 1.023 GB, free: 5.59 MB / 0.795 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.0001144/0.3832, allocations: 125.7 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.3832, allocations: 11.89 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.3832, allocations: 12.38 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3832, allocations: 4 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3833, allocations: 4.062 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3833, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.3837, allocations: 370.8 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3838, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.3838, allocations: 23.92 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3838, allocations: 0 / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3839, allocations: 0 / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3839, allocations: 3.938 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3839, allocations: 0 / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.3842, allocations: 211.4 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.3842, allocations: 81.02 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3843, allocations: 12 kB / 1.023 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.3844, allocations: 7.984 kB / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.3844, allocations: 7.922 kB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3844, allocations: 7.984 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.467e-05/0.3845, allocations: 91.27 kB / 1.023 GB, free: 4.531 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3845, allocations: 0 / 1.023 GB, free: 4.531 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002907/0.3848, allocations: 24 kB / 1.023 GB, free: 4.508 MB / 0.795 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.0001835/0.385, allocations: 117.8 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.3854, allocations: 183.2 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3854, allocations: 0 / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3855, allocations: 35.97 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3858, allocations: 15.98 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.3862, allocations: 204.4 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3865, allocations: 0.6885 MB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.3865, allocations: 11.44 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.3866, allocations: 0 / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of Templates: time 0.003222/0.3898, allocations: 1.269 MB / 1.026 GB, free: 1.93 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches