Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001448/0.001448, allocations: 103.9 kB / 15.99 MB, free: 5.891 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.001922/0.001922, allocations: 193.1 kB / 16.91 MB, free: 5.746 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 469.8 MB / 0.7427 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 72.05 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2856, allocations: 159.1 MB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002036/0.2877, allocations: 0.8183 MB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2892, allocations: 1.159 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.2892, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.2893, allocations: 7.875 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.2893, allocations: 7.875 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.2898, allocations: 120.2 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.29, allocations: 123.8 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.2901, allocations: 23.97 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.2901, allocations: 43.91 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.2902, allocations: 39.83 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.2903, allocations: 12 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.98e-05/0.2903, allocations: 31.97 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.2904, allocations: 8 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.2904, allocations: 43.78 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.2906, allocations: 79.83 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2906, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2906, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2906, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8262 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.0006109/0.2912, allocations: 413.2 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2912, allocations: 12.03 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.2913, allocations: 4.938 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2914, allocations: 172.2 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2915, allocations: 8.359 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.2915, allocations: 8.375 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.2917, allocations: 66.23 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2917, allocations: 4.172 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2917, allocations: 3.938 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2917, allocations: 4 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2919, allocations: 43.95 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.2924, allocations: 348.5 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.2926, allocations: 54.61 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.2927, allocations: 32.97 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.2927, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.293, allocations: 91.3 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.293, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004298/0.2934, allocations: 145.8 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2935, allocations: 55.39 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2936, allocations: 129.7 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.2936, allocations: 29.7 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.2937, allocations: 100 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.2937, allocations: 15.81 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/0.2938, allocations: 37.7 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2939, allocations: 322.8 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2941, allocations: 51.91 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.2943, allocations: 88.25 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2946, allocations: 141.9 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2946, allocations: 3.938 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004626/0.295, allocations: 219.1 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.2951, allocations: 35.11 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2951, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2951, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.2952, allocations: 15.98 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2952, allocations: 4 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.2955, allocations: 40.02 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.2955, allocations: 4 kB / 1.069 GB, free: 9.188 MB / 0.8262 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.0001093/0.2956, allocations: 133.7 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.2956, allocations: 7.906 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.2957, allocations: 8.375 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2957, allocations: 7.984 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.2957, allocations: 0 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2957, allocations: 4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.2962, allocations: 374.5 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2962, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.2962, allocations: 15.92 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2962, allocations: 0 / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.2963, allocations: 0 / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2963, allocations: 4 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2963, allocations: 7.938 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.2966, allocations: 207.3 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.2967, allocations: 81.02 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.2967, allocations: 7.984 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.2968, allocations: 4 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.2968, allocations: 15.92 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2968, allocations: 4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.2969, allocations: 91.27 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.914e-06/0.2969, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002512/0.2972, allocations: 23.94 kB / 1.07 GB, free: 8.109 MB / 0.8262 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.0001603/0.2973, allocations: 111.2 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003882/0.2977, allocations: 179.3 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2977, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.2979, allocations: 35.98 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.2981, allocations: 19.92 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.2985, allocations: 212.3 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2988, allocations: 0.6885 MB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.2989, allocations: 11.44 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2989, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of Templates: time 0.002923/0.3018, allocations: 1.268 MB / 1.073 GB, free: 5.523 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches