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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002744/0.002744, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.425/3.425, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 69.92 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3967, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002563/0.3992, allocations: 0.7441 MB / 1.317 GB, free: 8.973 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.4011, allocations: 1.166 MB / 1.318 GB, free: 7.793 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.4011, allocations: 0 / 1.318 GB, free: 7.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.305e-05/0.4012, allocations: 7.938 kB / 1.318 GB, free: 7.785 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.4013, allocations: 15.92 kB / 1.318 GB, free: 7.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.4019, allocations: 135.3 kB / 1.318 GB, free: 7.641 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.4021, allocations: 123.7 kB / 1.318 GB, free: 7.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.4022, allocations: 8 kB / 1.318 GB, free: 7.512 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.4024, allocations: 55.89 kB / 1.318 GB, free: 7.457 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.4025, allocations: 39.83 kB / 1.318 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.4025, allocations: 12 kB / 1.318 GB, free: 7.406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-05/0.4026, allocations: 27.98 kB / 1.318 GB, free: 7.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.4026, allocations: 11.98 kB / 1.318 GB, free: 7.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.4027, allocations: 51.77 kB / 1.318 GB, free: 7.316 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.4029, allocations: 111.6 kB / 1.318 GB, free: 7.207 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4029, allocations: 0 / 1.318 GB, free: 7.207 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4029, allocations: 0 / 1.318 GB, free: 7.207 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.4029, allocations: 0 / 1.318 GB, free: 7.207 MB / 1.014 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.0007349/0.4037, allocations: 339.7 kB / 1.319 GB, free: 6.836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4037, allocations: 12.03 kB / 1.319 GB, free: 6.824 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.4038, allocations: 12.89 kB / 1.319 GB, free: 6.812 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.4039, allocations: 118.5 kB / 1.319 GB, free: 6.672 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.4039, allocations: 4.375 kB / 1.319 GB, free: 6.668 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.404, allocations: 8.375 kB / 1.319 GB, free: 6.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.4042, allocations: 62.22 kB / 1.319 GB, free: 6.594 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4042, allocations: 192 / 1.319 GB, free: 6.594 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.4042, allocations: 15.92 kB / 1.319 GB, free: 6.578 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.4042, allocations: 0 / 1.319 GB, free: 6.578 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.4044, allocations: 51.88 kB / 1.319 GB, free: 6.527 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.405, allocations: 303.8 kB / 1.319 GB, free: 6.188 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.4052, allocations: 62.55 kB / 1.319 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4053, allocations: 28.97 kB / 1.319 GB, free: 6.086 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4053, allocations: 0 / 1.319 GB, free: 6.086 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.4056, allocations: 83.36 kB / 1.32 GB, free: 5.992 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.4056, allocations: 0 / 1.32 GB, free: 5.992 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0005012/0.4061, allocations: 145.6 kB / 1.32 GB, free: 5.844 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.4062, allocations: 63.39 kB / 1.32 GB, free: 5.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.4063, allocations: 121.8 kB / 1.32 GB, free: 5.641 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.4063, allocations: 29.7 kB / 1.32 GB, free: 5.605 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.4064, allocations: 92.12 kB / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.4064, allocations: 15.84 kB / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.4065, allocations: 41.64 kB / 1.32 GB, free: 5.449 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4067, allocations: 326.8 kB / 1.32 GB, free: 5.121 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.4069, allocations: 51.97 kB / 1.32 GB, free: 5.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.4071, allocations: 88.19 kB / 1.32 GB, free: 4.969 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.4074, allocations: 145.9 kB / 1.321 GB, free: 4.805 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4074, allocations: 0 / 1.321 GB, free: 4.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004964/0.4079, allocations: 211.4 kB / 1.321 GB, free: 4.586 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.4079, allocations: 37.7 kB / 1.321 GB, free: 4.543 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4079, allocations: 3.984 kB / 1.321 GB, free: 4.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.408, allocations: 8.125 kB / 1.321 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.4081, allocations: 11.98 kB / 1.321 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4081, allocations: 0 / 1.321 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.4083, allocations: 43.84 kB / 1.321 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.4083, allocations: 12 kB / 1.321 GB, free: 4.465 MB / 1.014 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.0001245/0.4084, allocations: 124.2 kB / 1.321 GB, free: 4.336 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.4085, allocations: 15.94 kB / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.4085, allocations: 8.375 kB / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4085, allocations: 0 / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4085, allocations: 0 / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4085, allocations: 0 / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.409, allocations: 353.4 kB / 1.321 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.409, allocations: 0 / 1.321 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.4091, allocations: 7.984 kB / 1.321 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4091, allocations: 8.062 kB / 1.321 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.4091, allocations: 8 kB / 1.321 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4091, allocations: 0 / 1.321 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4091, allocations: 0 / 1.321 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.4095, allocations: 207.3 kB / 1.322 GB, free: 3.672 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.4095, allocations: 7.953 kB / 1.322 GB, free: 3.664 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.4095, allocations: 8 kB / 1.322 GB, free: 3.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.4096, allocations: 7.984 kB / 1.322 GB, free: 3.648 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.4097, allocations: 11.92 kB / 1.322 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4097, allocations: 4 kB / 1.322 GB, free: 3.633 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.266e-05/0.4098, allocations: 95.75 kB / 1.322 GB, free: 3.539 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4098, allocations: 0 / 1.322 GB, free: 3.539 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002777/0.41, allocations: 27.94 kB / 1.322 GB, free: 3.512 MB / 1.014 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.0001794/0.4102, allocations: 99.78 kB / 1.322 GB, free: 3.406 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.4106, allocations: 167.3 kB / 1.322 GB, free: 3.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4106, allocations: 0 / 1.322 GB, free: 3.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4108, allocations: 35.91 kB / 1.322 GB, free: 3.195 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.4111, allocations: 19.92 kB / 1.322 GB, free: 3.176 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.4116, allocations: 174.7 kB / 1.322 GB, free: 2.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.4119, allocations: 0.6933 MB / 1.323 GB, free: 2.262 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.4119, allocations: 4 kB / 1.323 GB, free: 2.258 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.412, allocations: 11.44 kB / 1.323 GB, free: 2.246 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.412, allocations: 0 / 1.323 GB, free: 2.246 MB / 1.014 GB Notification: Performance of Templates: time 0.004989/0.4169, allocations: 1.483 MB / 1.324 GB, free: 0.7812 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.692069798707962]