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.00137/0.00137, allocations: 113.4 kB / 17.08 MB, free: 5.988 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.001406/0.001406, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.471/1.471, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 489.3 MB / 0.7687 GB, free: 3.973 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002949/0.002949, allocations: 67.89 kB / 1.103 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.049, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001995/1.051, allocations: 0.7446 MB / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001518/1.052, allocations: 1.158 MB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/1.052, allocations: 0.7812 kB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/1.052, allocations: 5.016 kB / 1.264 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/1.053, allocations: 14.61 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/1.053, allocations: 136 kB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/1.053, allocations: 122.5 kB / 1.265 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/1.053, allocations: 17.5 kB / 1.265 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/1.054, allocations: 48.33 kB / 1.265 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/1.054, allocations: 46.22 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/1.054, allocations: 10.38 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/1.054, allocations: 28.66 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/1.054, allocations: 21.55 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/1.054, allocations: 43.06 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/1.054, allocations: 117.1 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.054, allocations: 0 / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.405e-06/1.054, allocations: 0 / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.054, allocations: 0.8438 kB / 1.265 GB, free: 6.406 MB / 0.9981 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.0005639/1.055, allocations: 415.9 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.055, allocations: 10.58 kB / 1.265 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/1.055, allocations: 10.27 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/1.055, allocations: 173.5 kB / 1.266 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/1.055, allocations: 4.812 kB / 1.266 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/1.055, allocations: 6.859 kB / 1.266 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/1.055, allocations: 64.7 kB / 1.266 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.055, allocations: 0.9844 kB / 1.266 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.055, allocations: 8.625 kB / 1.266 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.055, allocations: 1.688 kB / 1.266 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/1.055, allocations: 43.84 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/1.056, allocations: 349.6 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/1.056, allocations: 58.03 kB / 1.266 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.056, allocations: 30.05 kB / 1.266 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/1.056, allocations: 5 kB / 1.266 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/1.057, allocations: 91.75 kB / 1.266 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/1.057, allocations: 0 / 1.266 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004747/1.057, allocations: 140.8 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/1.057, allocations: 53.59 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/1.057, allocations: 125.9 kB / 1.267 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/1.057, allocations: 32.72 kB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/1.057, allocations: 89.55 kB / 1.267 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/1.057, allocations: 20.28 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/1.057, allocations: 39.12 kB / 1.267 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/1.057, allocations: 319.9 kB / 1.267 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/1.058, allocations: 53.2 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/1.058, allocations: 91.44 kB / 1.267 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/1.058, allocations: 140.7 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.058, allocations: 0.9688 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005051/1.059, allocations: 213 kB / 1.268 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/1.059, allocations: 35.14 kB / 1.268 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.059, allocations: 2.156 kB / 1.268 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/1.059, allocations: 5.344 kB / 1.268 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/1.059, allocations: 15.95 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/1.059, allocations: 6.031 kB / 1.268 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/1.059, allocations: 42.64 kB / 1.268 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/1.059, allocations: 11.41 kB / 1.268 GB, free: 4.242 MB / 0.9981 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.842e-05/1.059, allocations: 122.3 kB / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/1.059, allocations: 8.094 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/1.059, allocations: 18.08 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.059, allocations: 1.5 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.059, allocations: 0.75 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.059, allocations: 0.5625 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/1.06, allocations: 379.1 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.06, allocations: 1.562 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/1.06, allocations: 12.19 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.06, allocations: 4.844 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.06, allocations: 1.766 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.06, allocations: 0.9062 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.06, allocations: 0.5625 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/1.06, allocations: 208.8 kB / 1.268 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/1.06, allocations: 83.92 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/1.06, allocations: 9.656 kB / 1.268 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/1.06, allocations: 6.594 kB / 1.268 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/1.06, allocations: 10.22 kB / 1.268 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/1.06, allocations: 3.172 kB / 1.268 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.582e-05/1.061, allocations: 98.95 kB / 1.269 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.061, allocations: 0 / 1.269 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002796/1.061, allocations: 21.33 kB / 1.269 GB, free: 3.398 MB / 0.9981 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/1.061, allocations: 109.8 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004298/1.061, allocations: 179.8 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.061, allocations: 0 / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/1.062, allocations: 42.94 kB / 1.269 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/1.062, allocations: 12.67 kB / 1.269 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/1.062, allocations: 192 kB / 1.269 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/1.062, allocations: 0.6879 MB / 1.27 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/1.062, allocations: 12.45 kB / 1.27 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/1.062, allocations: 0 / 1.27 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of Templates: time 0.00371/1.066, allocations: 1.282 MB / 1.271 GB, free: 2.207 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.620357339968905]