Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 211.1 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.35/3.35, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 75.81 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3936, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002849/0.3964, allocations: 0.7492 MB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.3984, allocations: 1.167 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.45e-05/0.3985, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/0.3985, allocations: 3.938 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.3986, allocations: 11.88 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.3993, allocations: 146.2 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.3996, allocations: 115.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3997, allocations: 11.98 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3998, allocations: 51.83 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.4, allocations: 47.83 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.4, allocations: 12 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.461e-05/0.4001, allocations: 23.98 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.445e-05/0.4001, allocations: 11.98 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.4002, allocations: 39.84 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.4004, allocations: 119.6 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4004, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4004, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.4004, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 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.0007026/0.4012, allocations: 335.8 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4012, allocations: 8.031 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.4013, allocations: 12.89 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4014, allocations: 118.4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.4014, allocations: 8.375 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.4015, allocations: 4.375 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.4017, allocations: 74.2 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4017, allocations: 192 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.4017, allocations: 7.938 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4017, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.4019, allocations: 43.95 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.4025, allocations: 264.4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.4027, allocations: 58.55 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4028, allocations: 28.97 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-06/0.4028, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003225/0.4031, allocations: 91.3 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.4031, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004962/0.4036, allocations: 145.6 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.4037, allocations: 59.41 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4038, allocations: 121.7 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.4038, allocations: 33.7 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.4039, allocations: 96.06 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.4039, allocations: 23.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.404, allocations: 41.69 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4042, allocations: 314.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.4044, allocations: 85.59 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.4046, allocations: 119.8 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.4049, allocations: 141.9 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4049, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005061/0.4054, allocations: 256.8 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.4055, allocations: 33.7 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4055, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4055, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.4056, allocations: 11.98 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4056, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.4058, allocations: 35.95 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.4058, allocations: 8 kB / 1.332 GB, free: 11.68 MB / 1.029 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.0001308/0.406, allocations: 130.3 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.406, allocations: 11.94 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.406, allocations: 8.375 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.406, allocations: 3.984 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.406, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.406, allocations: 11.95 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.4061, allocations: 8 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.4061, allocations: 7.984 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.4062, allocations: 11.92 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003359/0.4065, allocations: 197.2 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003507/0.4069, allocations: 282.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001084/0.407, allocations: 31.97 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.427e-05/0.407, allocations: 99.2 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of Backend: time 3.71e-07/0.407, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.4077, allocations: 240.6 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006236/0.4083, allocations: 0.6045 MB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of Templates: time 0.005064/0.4134, allocations: 1.794 MB / 1.335 GB, free: 8.184 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.55993213399779]