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.001731/0.001731, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001961/0.001961, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.496/2.496, allocations: 437.1 MB / 0.7107 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 68.67 kB / 0.8694 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2852, allocations: 151.6 MB / 1.018 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001983/0.2872, allocations: 0.8134 MB / 1.018 GB, free: 10.21 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.2886, allocations: 1.148 MB / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.2887, allocations: 0 / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.2887, allocations: 3.938 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.021e-05/0.2888, allocations: 15.86 kB / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.2893, allocations: 122.2 kB / 1.02 GB, free: 8.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.2894, allocations: 119.8 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.2895, allocations: 19.97 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.2896, allocations: 51.89 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.2897, allocations: 43.83 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.2897, allocations: 8 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.458e-05/0.2898, allocations: 23.98 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.2898, allocations: 19.92 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.2899, allocations: 43.78 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.29, allocations: 83.83 kB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2901, allocations: 0 / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2901, allocations: 0 / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2901, allocations: 0 / 1.02 GB, free: 8.5 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.0006275/0.2907, allocations: 417.2 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2907, allocations: 8.031 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.2908, allocations: 16.83 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.2909, allocations: 168.3 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.291, allocations: 4.375 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.291, allocations: 8.375 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.2912, allocations: 66.22 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2912, allocations: 192 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.2912, allocations: 7.938 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2912, allocations: 0 / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.2914, allocations: 47.89 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.292, allocations: 344.6 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.2922, allocations: 62.55 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2923, allocations: 32.95 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2923, allocations: 0 / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.2926, allocations: 87.36 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 3.596e-06/0.2926, allocations: 7.984 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004954/0.2931, allocations: 145.4 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.2931, allocations: 51.41 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.2933, allocations: 125.8 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.2933, allocations: 33.7 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.2934, allocations: 88.14 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.2934, allocations: 15.88 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.2935, allocations: 41.69 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2937, allocations: 322.8 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.2939, allocations: 55.95 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2941, allocations: 84.25 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.2944, allocations: 137.9 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2944, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004641/0.2949, allocations: 211.1 kB / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.2949, allocations: 37.81 kB / 1.022 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.295, allocations: 4 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.295, allocations: 4 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.2951, allocations: 11.98 kB / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2951, allocations: 3.938 kB / 1.022 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.2953, allocations: 43.88 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.2954, allocations: 11.98 kB / 1.023 GB, free: 5.566 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.0001193/0.2955, allocations: 128 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.2955, allocations: 3.906 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.2955, allocations: 12.38 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2956, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2956, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2956, allocations: 3.984 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.2961, allocations: 382.7 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2961, allocations: 3.984 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.2961, allocations: 4 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2962, allocations: 0 / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.2962, allocations: 4 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2962, allocations: 3.984 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2962, allocations: 0 / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.2965, allocations: 219.3 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.2966, allocations: 85.02 kB / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.2966, allocations: 4 kB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.2967, allocations: 7.984 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.2967, allocations: 11.92 kB / 1.023 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2967, allocations: 3.984 kB / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.859e-05/0.2968, allocations: 95.28 kB / 1.023 GB, free: 4.512 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2968, allocations: 3.938 kB / 1.023 GB, free: 4.508 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002554/0.2971, allocations: 20 kB / 1.023 GB, free: 4.488 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.0001642/0.2972, allocations: 116.6 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.2976, allocations: 175.3 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2977, allocations: 0 / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.2978, allocations: 43.91 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2981, allocations: 12.25 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.2985, allocations: 200.2 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.2988, allocations: 0.6885 MB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.2988, allocations: 23.42 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2989, allocations: 0 / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of Templates: time 0.003152/0.302, allocations: 1.283 MB / 1.026 GB, free: 1.891 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=400 -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