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.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.001916/0.001916, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.002481/0.002481, allocations: 168.1 kB / 22.46 MB, free: 5.359 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.513/1.513, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.043/3.043, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.585e-06/2.585e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.371e-05, allocations: 10.16 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002282/0.002316, allocations: 0.7384 MB / 1.001 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.004209, allocations: 1.178 MB / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.004263, allocations: 0 / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.004298, allocations: 3.938 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.004381, allocations: 15.86 kB / 1.002 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.004943, allocations: 135.9 kB / 1.002 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.005177, allocations: 123.7 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.005294, allocations: 15.97 kB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.005445, allocations: 59.95 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.005551, allocations: 43.86 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.005587, allocations: 12 kB / 1.002 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.005667, allocations: 20 kB / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.005696, allocations: 11.92 kB / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.005774, allocations: 39.97 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.006015, allocations: 135.6 kB / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.006017, allocations: 3.938 kB / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006018, allocations: 0 / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.006022, allocations: 0 / 1.003 GB, free: 4.738 MB / 0.9512 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.0008009/0.006823, allocations: 335.8 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.006867, allocations: 12.03 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.3e-05/0.00693, allocations: 8.891 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.007082, allocations: 113.7 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.007097, allocations: 4.375 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.007131, allocations: 16.38 kB / 1.003 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.007364, allocations: 66.16 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.007375, allocations: 4.188 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.007387, allocations: 4.312 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.007392, allocations: 384 / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.0076, allocations: 51.83 kB / 1.003 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.008141, allocations: 252.5 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.008342, allocations: 62.55 kB / 1.003 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.008457, allocations: 28.97 kB / 1.004 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.008469, allocations: 3.984 kB / 1.004 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.008729, allocations: 95.31 kB / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.00873, allocations: 0 / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0005553/0.009286, allocations: 137.6 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.009334, allocations: 59.34 kB / 1.004 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.009464, allocations: 121.8 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.009503, allocations: 29.7 kB / 1.004 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.009583, allocations: 96.12 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.009616, allocations: 27.78 kB / 1.004 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.009757, allocations: 41.69 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.009957, allocations: 314.8 kB / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.01016, allocations: 89.66 kB / 1.004 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.01043, allocations: 114 kB / 1.005 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.01073, allocations: 137.9 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01073, allocations: 0 / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005367/0.01127, allocations: 249.1 kB / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.01132, allocations: 35.73 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.01133, allocations: 4 kB / 1.005 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.01136, allocations: 0 / 1.005 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.01147, allocations: 15.98 kB / 1.005 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.01148, allocations: 7.922 kB / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.0117, allocations: 39.91 kB / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.01173, allocations: 8.125 kB / 1.005 GB, free: 1.957 MB / 0.9512 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.0001716/0.0119, allocations: 130.3 kB / 1.005 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.01192, allocations: 11.89 kB / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.01196, allocations: 8.438 kB / 1.005 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01196, allocations: 0 / 1.005 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.01197, allocations: 8.062 kB / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.01198, allocations: 0 / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.01253, allocations: 318 kB / 1.006 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01253, allocations: 4 kB / 1.006 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.727e-05/0.01259, allocations: 7.984 kB / 1.006 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01259, allocations: 0 / 1.006 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.0126, allocations: 4 kB / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.0126, allocations: 0 / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01261, allocations: 0 / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.01298, allocations: 215.3 kB / 1.006 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.01299, allocations: 11.88 kB / 1.006 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.01302, allocations: 8 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.01311, allocations: 7.984 kB / 1.006 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.01317, allocations: 7.984 kB / 1.006 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.01318, allocations: 4 kB / 1.006 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.01326, allocations: 91.81 kB / 1.006 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01326, allocations: 0 / 1.006 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002744/0.01353, allocations: 24 kB / 1.006 GB, free: 1.051 MB / 0.9512 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.0002989/0.01383, allocations: 107.2 kB / 1.006 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005562/0.01439, allocations: 193 kB / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01439, allocations: 0 / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.01454, allocations: 39.91 kB / 1.006 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.01484, allocations: 16.25 kB / 1.006 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.01527, allocations: 157.4 kB / 1.006 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.062e-05/0.01536, allocations: 79.52 kB / 1.006 GB, free: 404 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.01539, allocations: 7.859 kB / 1.006 GB, free: 396 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.01543, allocations: 12.5 kB / 1.006 GB, free: 384 kB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.01543, allocations: 0 / 1.006 GB, free: 384 kB / 0.9512 GB Notification: Performance of Templates: time 0.005021/0.02045, allocations: 1.577 MB / 1.008 GB, free: 14.83 MB / 0.9669 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: 8.481691807508469]