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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001273/0.001273, allocations: 105 kB / 16.41 MB, free: 6.465 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.001253/0.001253, allocations: 187 kB / 17.34 MB, free: 5.719 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.387/2.387, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6859, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001705/0.6876, allocations: 0.7493 MB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.6891, allocations: 1.143 MB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.6892, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.6893, allocations: 3.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.6894, allocations: 19.84 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.6899, allocations: 139.2 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.6902, allocations: 123.8 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.6903, allocations: 19.94 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.6904, allocations: 43.91 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.6905, allocations: 51.8 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.6905, allocations: 15.94 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.6906, allocations: 23.98 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.6907, allocations: 11.98 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.6907, allocations: 47.78 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.6909, allocations: 107.7 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.691, allocations: 4 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.545e-06/0.691, allocations: 4 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.691, allocations: 0 / 1.211 GB, free: 11.1 MB / 0.9356 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.0006238/0.6916, allocations: 414.6 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.6917, allocations: 8.031 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.6917, allocations: 16.83 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.981e-05/0.6918, allocations: 168.3 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.6918, allocations: 4.312 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.6919, allocations: 12.38 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.6921, allocations: 66.22 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.6921, allocations: 192 / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.6921, allocations: 7.938 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6921, allocations: 0 / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.6923, allocations: 43.94 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.6927, allocations: 352.6 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.6929, allocations: 54.61 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.693, allocations: 28.95 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.693, allocations: 4 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.6933, allocations: 99.28 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.6933, allocations: 3.938 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004004/0.6937, allocations: 133.5 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.6937, allocations: 55.41 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.541e-05/0.6938, allocations: 117.8 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.6938, allocations: 33.7 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.6939, allocations: 96.05 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.6939, allocations: 23.81 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.694, allocations: 37.69 kB / 1.213 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.6941, allocations: 318.8 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.6942, allocations: 55.95 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.6944, allocations: 96.12 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.6947, allocations: 133.9 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6947, allocations: 8 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004024/0.6951, allocations: 203.2 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.6951, allocations: 37.69 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.6951, allocations: 0 / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6952, allocations: 4 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.6952, allocations: 15.92 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6953, allocations: 0 / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.6955, allocations: 36.09 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.6955, allocations: 11.98 kB / 1.213 GB, free: 8.18 MB / 0.9356 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 8.807e-05/0.6956, allocations: 123.3 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.6956, allocations: 7.906 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.6956, allocations: 8.375 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6956, allocations: 0 / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6956, allocations: 12 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6957, allocations: 3.984 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.6961, allocations: 378.4 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6961, allocations: 0 / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.6961, allocations: 7.984 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6962, allocations: 0 / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.6962, allocations: 7.938 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6962, allocations: 0 / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6962, allocations: 4 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.6964, allocations: 207.3 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.6965, allocations: 85.02 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.6965, allocations: 4 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.6966, allocations: 7.984 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.6966, allocations: 11.94 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.6967, allocations: 4 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.6967, allocations: 99.75 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.242e-06/0.6967, allocations: 0 / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002438/0.697, allocations: 31.88 kB / 1.214 GB, free: 7.094 MB / 0.9356 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.00013/0.6971, allocations: 117.7 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.6975, allocations: 175.7 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6975, allocations: 0 / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.6976, allocations: 39.97 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.6979, allocations: 12.16 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.6982, allocations: 184.2 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.6984, allocations: 0.6926 MB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.6984, allocations: 11.44 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.6984, allocations: 0 / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.002566/0.701, allocations: 1.277 MB / 1.217 GB, free: 4.531 MB / 0.9356 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 -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