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.006724/0.006724, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001227/0.001227, allocations: 193.3 kB / 16.67 MB, free: 6.379 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.629/1.629, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.976/2.976, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.89 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3939, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002052/0.396, allocations: 0.7462 MB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3975, allocations: 1.155 MB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.3976, allocations: 0 / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.3977, allocations: 3.938 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.3978, allocations: 15.81 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.3983, allocations: 138.7 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3985, allocations: 123.7 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3986, allocations: 19.95 kB / 1.21 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.3987, allocations: 47.89 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.3988, allocations: 47.81 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3989, allocations: 12 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.3989, allocations: 23.98 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.399, allocations: 8 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.399, allocations: 47.83 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3992, allocations: 115.6 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3992, allocations: 0 / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3993, allocations: 4 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3993, allocations: 0 / 1.21 GB, free: 7.137 MB / 0.9669 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.0006893/0.4, allocations: 416.9 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4, allocations: 8.031 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.4001, allocations: 12.78 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.4002, allocations: 168.4 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4002, allocations: 4.375 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.4002, allocations: 12.38 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.4004, allocations: 78.2 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4005, allocations: 192 / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4005, allocations: 3.938 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4005, allocations: 0 / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.4007, allocations: 47.89 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.4012, allocations: 340.6 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.4014, allocations: 58.48 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.4015, allocations: 37.03 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.4016, allocations: 0 / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.4018, allocations: 87.36 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.4018, allocations: 0 / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.00045/0.4022, allocations: 149.5 kB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.4023, allocations: 51.41 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.4024, allocations: 121.8 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.4024, allocations: 29.7 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.4025, allocations: 100 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.4025, allocations: 11.81 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.4026, allocations: 37.7 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4027, allocations: 326.8 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.4029, allocations: 51.95 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.4031, allocations: 92.19 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.4034, allocations: 137.8 kB / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4034, allocations: 0 / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004531/0.4038, allocations: 219.1 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.4039, allocations: 35.27 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4039, allocations: 0 / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4039, allocations: 4 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.404, allocations: 15.98 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.404, allocations: 3.938 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.4042, allocations: 40.02 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.4043, allocations: 8 kB / 1.213 GB, free: 4.203 MB / 0.9669 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.0001096/0.4044, allocations: 131.1 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.4044, allocations: 3.906 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.4044, allocations: 12.38 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4045, allocations: 3.984 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4045, allocations: 0 / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4045, allocations: 4 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.4049, allocations: 378.4 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4049, allocations: 0 / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.405, allocations: 7.984 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.405, allocations: 0 / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.405, allocations: 4 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.405, allocations: 0 / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.405, allocations: 64 / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.4053, allocations: 223.7 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.4054, allocations: 85.02 kB / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.4054, allocations: 3.984 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4055, allocations: 4 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.4056, allocations: 15.92 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.4056, allocations: 0 / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.119e-05/0.4057, allocations: 95.81 kB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4057, allocations: 4 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002613/0.4059, allocations: 24 kB / 1.214 GB, free: 3.121 MB / 0.9669 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.0001591/0.4061, allocations: 107.2 kB / 1.214 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.4065, allocations: 171.5 kB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4065, allocations: 4.062 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4066, allocations: 43.91 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.4069, allocations: 15.92 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.4073, allocations: 168.8 kB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.4075, allocations: 0.6923 MB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.4076, allocations: 8 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.4076, allocations: 11.44 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.4076, allocations: 4 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of Templates: time 0.004129/0.4118, allocations: 1.497 MB / 1.216 GB, free: 364 kB / 0.9669 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/jenkins/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