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.001421/0.001421, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002303/0.003724, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001605/0.001605, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002165/0.00377, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.113/1.113, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1011/1.215, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.664/2.664, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3269/2.991, allocations: 145.9 MB / 0.817 GB, free: 4.184 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.354e-06/2.354e-06, allocations: 0 / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.493e-05, allocations: 8.359 kB / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00193/0.001955, allocations: 0.791 MB / 0.8191 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.003731, allocations: 1.193 MB / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.003781, allocations: 0 / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.003809, allocations: 3.938 kB / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.003867, allocations: 23.8 kB / 0.8203 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.004292, allocations: 123.6 kB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.004499, allocations: 119.7 kB / 0.8205 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.00459, allocations: 19.92 kB / 0.8205 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.00473, allocations: 67.89 kB / 0.8206 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.252e-05/0.004822, allocations: 39.92 kB / 0.8206 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.004848, allocations: 8 kB / 0.8206 GB, free: 460 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.004936, allocations: 27.94 kB / 0.8207 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.004958, allocations: 8 kB / 0.8207 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.005011, allocations: 31.92 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.005188, allocations: 71.8 kB / 0.8208 GB, free: 320 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.109e-05/0.005209, allocations: 7.938 kB / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.12e-07/0.005209, allocations: 0 / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.005229, allocations: 0 / 0.8208 GB, free: 312 kB / 0.7917 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.0005911/0.00582, allocations: 314.1 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.005861, allocations: 12.02 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.00591, allocations: 8.938 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.006019, allocations: 117.7 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.006036, allocations: 8.375 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.006057, allocations: 12.36 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.006194, allocations: 62.94 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.006203, allocations: 192 / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.006211, allocations: 384 / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.006218, allocations: 4.375 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.554e-05/0.006253, allocations: 15.86 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.00658, allocations: 184.2 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.388e-05/0.006674, allocations: 38.64 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.006694, allocations: 16.8 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.006703, allocations: 3.984 kB / 0.8215 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.006822, allocations: 71.48 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.006824, allocations: 0 / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001672/0.006991, allocations: 73.59 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.007035, allocations: 55.34 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.007123, allocations: 130.5 kB / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.007148, allocations: 33.7 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.007197, allocations: 88.12 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.007221, allocations: 23.83 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.007287, allocations: 41.67 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.007379, allocations: 318.8 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.00745, allocations: 49.69 kB / 0.8224 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.007532, allocations: 93.97 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.007646, allocations: 105.9 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007648, allocations: 0 / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002039/0.007852, allocations: 168.9 kB / 0.8227 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.007897, allocations: 37.69 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.007905, allocations: 7.938 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.007914, allocations: 0 / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.007999, allocations: 12 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.008006, allocations: 7.938 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.00812, allocations: 27.92 kB / 0.8228 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.008136, allocations: 4 kB / 0.8228 GB, free: 13.96 MB / 0.8073 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.885e-05/0.008225, allocations: 122 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.008241, allocations: 11.98 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.008269, allocations: 12.38 kB / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.00827, allocations: 0 / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.008273, allocations: 0 / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.008276, allocations: 0 / 0.823 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.008503, allocations: 218.8 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.008505, allocations: 0 / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.008544, allocations: 7.984 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.00856, allocations: 23.81 kB / 0.8232 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008562, allocations: 4 kB / 0.8232 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.008568, allocations: 0 / 0.8232 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.00857, allocations: 3.938 kB / 0.8232 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008571, allocations: 0 / 0.8232 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.008677, allocations: 155.5 kB / 0.8234 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.008699, allocations: 7.938 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.008777, allocations: 3.984 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.008819, allocations: 11.98 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.008826, allocations: 0 / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.326e-05/0.008849, allocations: 16.84 kB / 0.8234 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008849, allocations: 0 / 0.8234 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002471/0.009096, allocations: 35.98 kB / 0.8234 GB, free: 13.29 MB / 0.8073 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.0001311/0.009227, allocations: 77.05 kB / 0.8235 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.009417, allocations: 153.9 kB / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.009422, allocations: 0 / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.009463, allocations: 28.78 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.00967, allocations: 21.05 kB / 0.8237 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.01024, allocations: 161 kB / 0.8239 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.226e-05/0.01028, allocations: 63.22 kB / 0.8239 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.01032, allocations: 11.97 kB / 0.8239 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.01042, allocations: 71.34 kB / 0.824 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.01042, allocations: 0 / 0.824 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of Templates: time 0.004301/0.01472, allocations: 1.743 MB / 0.8257 GB, free: 10.93 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7814320512115955]